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