new source
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
0e3edf2b37
commit
4bd2fe79f4
11
PKGBUILD
11
PKGBUILD
|
@ -5,25 +5,26 @@ pkgname='spark-rc'
|
|||
pkgdesc='A simple rc script'
|
||||
license=( 'BSD' )
|
||||
pkgver=1.9.1
|
||||
_commit='0afbcc55f24e4d3b5028afbe03b9a4ce7d6aaede'
|
||||
pkgrel=1
|
||||
arch=( 'any' )
|
||||
url='https://github.com/fbt/spark-rc'
|
||||
url='https://gitlab.com/fbt/spark-rc'
|
||||
|
||||
conflicts=( sysvinit-tools-adds )
|
||||
|
||||
backup=( 'etc/rc.conf' )
|
||||
|
||||
source=( "https://github.com/fbt/spark-rc/archive/${pkgver}.tar.gz" )
|
||||
source=( "https://gitlab.com/fbt/spark-rc/repository/archive.tar.gz?ref=1.9.1" )
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
cd "${srcdir}/${pkgname}-${pkgver}-${_commit}"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
cd "${srcdir}/${pkgname}-${pkgver}-${_commit}"
|
||||
|
||||
make USR=/usr DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha1sums=('6624437cae78220205fbcac4d5330192235efb69')
|
||||
sha1sums=('1014adef3b8cbf6e0830d4bc167aad41d8117eb4')
|
||||
|
|
Loading…
Reference in New Issue
Block a user