use a tag
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
ea1e729ffd
commit
ecfe459539
17
PKGBUILD
17
PKGBUILD
|
@ -2,14 +2,15 @@
|
||||||
|
|
||||||
pkgname=sinit-spark
|
pkgname=sinit-spark
|
||||||
_pkg_realname=sinit
|
_pkg_realname=sinit
|
||||||
pkgver=1.0
|
pkgver=1.1
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
|
pkgrev=28c44b6b94a870f2942c37f9cfbae8b770595712
|
||||||
pkgdesc="A simple init, configured to work with spark-rc"
|
pkgdesc="A simple init, configured to work with spark-rc"
|
||||||
url="http://core.suckless.org/sinit"
|
url="http://core.suckless.org/sinit"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
source=(
|
source=(
|
||||||
"http://git.suckless.org/sinit/snapshot/sinit-${pkgver}.tar.gz"
|
"sinit::git://git.suckless.org/sinit#tag=v1.1"
|
||||||
'config.h'
|
'config.h'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -17,21 +18,21 @@ provides=( sinit )
|
||||||
conflicts=( 'systemd-sysvcompat' 'sinit' )
|
conflicts=( 'systemd-sysvcompat' 'sinit' )
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$_pkg_realname-$pkgver"
|
cd "$srcdir/sinit"
|
||||||
cp "$srcdir/config.h" config.h
|
cp "$srcdir/config.h" config.h
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$_pkg_realname-$pkgver"
|
cd "$srcdir/sinit"
|
||||||
make DESTDIR="$pkgdir" PREFIX=/usr install
|
make DESTDIR="$pkgdir" PREFIX=/usr install
|
||||||
|
|
||||||
install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$_pkg_realname/LICENSE"
|
install -m644 -D LICENSE "$pkgdir/usr/share/licenses/sinit/LICENSE"
|
||||||
install -m644 -D README "$pkgdir/usr/share/doc/$_pkg_realname/README"
|
install -m644 -D README "$pkgdir/usr/share/doc/sinit/README"
|
||||||
|
|
||||||
gzip sinit.8
|
gzip sinit.8
|
||||||
install -m644 -D sinit.8.gz "$pkgdir/usr/share/man/man8/sinit.8.gz"
|
install -m644 -D sinit.8.gz "$pkgdir/usr/share/man/man8/sinit.8.gz"
|
||||||
}
|
}
|
||||||
|
|
||||||
sha1sums=('37d038b1c0ba7312ac5a8e29b3be4283d01e1267'
|
sha1sums=('SKIP'
|
||||||
'2f727d4f336a240f185044e084bdce677358a19e')
|
'2f727d4f336a240f185044e084bdce677358a19e')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user