Make use of $pkgver in PKGBUILD. Pass VERSION var to Makefile.
This commit is contained in:
parent
eb6b0c68b3
commit
d1253242d4
@ -18,7 +18,7 @@ replaces=()
|
||||
backup=('etc/dwelling/radio.yaml' 'etc/dwelling/radio.vars.liq')
|
||||
options=()
|
||||
install=
|
||||
source=('https://git.arav.su/Arav/dwelling-radio/archive/23.10.1.tar.gz')
|
||||
source=("${pkgver}.tar.gz::https://git.arav.su/Arav/dwelling-radio/archive/v${pkgver}.tar.gz")
|
||||
noextract=()
|
||||
md5sums=('SKIP')
|
||||
|
||||
@ -31,10 +31,10 @@ build() {
|
||||
make DESTDIR="$pkgdir" install-jade
|
||||
fi
|
||||
|
||||
make DESTDIR="$pkgdir" PREFIX="/usr"
|
||||
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname"
|
||||
make DESTDIR="$pkgdir" PREFIX="/usr" install
|
||||
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user