diff options
author | Daniel Bermond | 2018-11-10 13:37:56 +0000 |
---|---|---|
committer | Daniel Bermond | 2018-11-10 13:37:56 +0000 |
commit | 8a0dae552b9aed653a61ab43b34a768fb61812a5 (patch) | |
tree | 9310bf99bdec0a82ad30c9a5e5c97e334022326c | |
parent | 0ed25b1ff8ef68541cb3956c4fb0155d03ab72ee (diff) | |
download | aur-8a0dae552b9aed653a61ab43b34a768fb61812a5.tar.gz |
Do not rename the source clone
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 11 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = flif-git pkgdesc = Free Lossless Image Format (git version) - pkgver = 0.3.r92.gb16d347 - pkgrel = 2 + pkgver = 0.3.r96.g74ea92b + pkgrel = 1 url = https://github.com/FLIF-hub/FLIF/ arch = i686 arch = x86_64 @@ -17,7 +17,7 @@ pkgbase = flif-git optdepends = apng-utils: for apng2flif tool provides = flif conflicts = flif - source = flif-git::git+https://github.com/FLIF-hub/FLIF.git + source = git+https://github.com/FLIF-hub/FLIF.git sha256sums = SKIP pkgname = flif-git @@ -2,8 +2,9 @@ # Contributor: John Jenkins <twodopeshaggy@gmail.com> pkgname=flif-git -pkgver=0.3.r92.gb16d347 -pkgrel=2 +_srcname=FLIF +pkgver=0.3.r96.g74ea92b +pkgrel=1 pkgdesc='Free Lossless Image Format (git version)' arch=('i686' 'x86_64') url='https://github.com/FLIF-hub/FLIF/' @@ -18,11 +19,11 @@ optdepends=( ) provides=('flif') conflicts=('flif') -source=("$pkgname"::'git+https://github.com/FLIF-hub/FLIF.git') +source=('git+https://github.com/FLIF-hub/FLIF.git') sha256sums=('SKIP') prepare() { - cd "${pkgname}/src" + cd "${_srcname}/src" # fix Makefile target install-pixbufloader sed -i 's|/usr/lib|$(PREFIX)/lib|' Makefile @@ -35,21 +36,21 @@ prepare() { } pkgver() { - cd "$pkgname" + cd "$_srcname" # git, tags available git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' } build() { - cd "${pkgname}/src" + cd "${_srcname}/src" make all decoder viewflif pixbufloader } package() { - cd "${pkgname}/src" + cd "${_srcname}/src" make PREFIX="${pkgdir}/usr" install{,-dev} make PREFIX="${pkgdir}/usr" install{-decoder,-viewflif,-pixbufloader} |