sinit-spark/PKGBUILD
fbt ecfe459539 use a tag
Signed-off-by: fbt <fbt@fleshless.org>
2019-11-08 20:05:01 +03:00

39 lines
872 B
Bash

# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname=sinit-spark
_pkg_realname=sinit
pkgver=1.1
pkgrel=1
pkgrev=28c44b6b94a870f2942c37f9cfbae8b770595712
pkgdesc="A simple init, configured to work with spark-rc"
url="http://core.suckless.org/sinit"
arch=('i686' 'x86_64')
license=('MIT')
source=(
"sinit::git://git.suckless.org/sinit#tag=v1.1"
'config.h'
)
provides=( sinit )
conflicts=( 'systemd-sysvcompat' 'sinit' )
build() {
cd "$srcdir/sinit"
cp "$srcdir/config.h" config.h
make
}
package() {
cd "$srcdir/sinit"
make DESTDIR="$pkgdir" PREFIX=/usr install
install -m644 -D LICENSE "$pkgdir/usr/share/licenses/sinit/LICENSE"
install -m644 -D README "$pkgdir/usr/share/doc/sinit/README"
gzip sinit.8
install -m644 -D sinit.8.gz "$pkgdir/usr/share/man/man8/sinit.8.gz"
}
sha1sums=('SKIP'
'2f727d4f336a240f185044e084bdce677358a19e')