sinit-spark/PKGBUILD

38 lines
929 B
Bash
Raw Normal View History

2015-06-01 13:15:16 +00:00
# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname=sinit-spark
_pkg_realname=sinit
2015-06-16 13:11:36 +00:00
pkgver=1.0
2016-01-17 20:24:10 +00:00
pkgrel=2
2015-06-01 13:15:16 +00:00
pkgdesc="A simple init, configured to work with spark-rc"
url="http://core.suckless.org/sinit"
2015-06-01 13:15:16 +00:00
arch=('i686' 'x86_64')
license=('MIT')
source=(
"http://git.suckless.org/sinit/snapshot/sinit-${pkgver}.tar.gz"
'config.h'
)
provides=( sinit )
conflicts=( 'systemd-sysvcompat' 'sinit' )
build() {
cd "$srcdir/$_pkg_realname-$pkgver"
cp "$srcdir/config.h" config.h
make
}
package() {
cd "$srcdir/$_pkg_realname-$pkgver"
make DESTDIR="$pkgdir" PREFIX=/usr install
install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$_pkg_realname/LICENSE"
install -m644 -D README "$pkgdir/usr/share/doc/$_pkg_realname/README"
gzip sinit.8
install -m644 -D sinit.8.gz "$pkgdir/usr/share/man/man8/sinit.8.gz"
}
2016-01-17 20:24:10 +00:00
sha1sums=('37d038b1c0ba7312ac5a8e29b3be4283d01e1267'
2015-06-01 13:15:16 +00:00
'2f727d4f336a240f185044e084bdce677358a19e')