diff options
author | Daniel Bermond | 2018-11-09 22:11:28 +0000 |
---|---|---|
committer | Daniel Bermond | 2018-11-09 22:11:28 +0000 |
commit | 81d130a7ab32bc6a1b78a0c47551bc4bab8bc2a1 (patch) | |
tree | 932bbc626e57035b945b19923a9d55dbffbf89fe | |
parent | 6bd85e2e209984b3308c4645c5de3ba2b4421682 (diff) | |
download | aur-81d130a7ab32bc6a1b78a0c47551bc4bab8bc2a1.tar.gz |
Do not rename the source clone
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 11 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = libmysofa-git pkgdesc = C library to read HRTFs if they are stored in the AES69-2015 SOFA format (git version) pkgver = 0.6.r56.g5e1fc5b - pkgrel = 1 + pkgrel = 2 url = https://hoene.github.io/libmysofa/ arch = i686 arch = x86_64 @@ -12,7 +12,7 @@ pkgbase = libmysofa-git depends = zlib provides = libmysofa conflicts = libmysofa - source = libmysofa-git::git+https://github.com/hoene/libmysofa.git + source = git+https://github.com/hoene/libmysofa.git sha256sums = SKIP pkgname = libmysofa-git @@ -1,8 +1,9 @@ -# Maintainer: Daniel Bermond < yahoo-com: danielbermond > +# Maintainer: Daniel Bermond < gmail-com: danielbermond > pkgname=libmysofa-git +_srcname=libmysofa pkgver=0.6.r56.g5e1fc5b -pkgrel=1 +pkgrel=2 pkgdesc='C library to read HRTFs if they are stored in the AES69-2015 SOFA format (git version)' arch=('i686' 'x86_64') url='https://hoene.github.io/libmysofa/' @@ -11,18 +12,18 @@ depends=('glibc' 'zlib') makedepends=('git' 'cmake') provides=('libmysofa') conflicts=('libmysofa') -source=("$pkgname"::'git+https://github.com/hoene/libmysofa.git') +source=('git+https://github.com/hoene/libmysofa.git') sha256sums=('SKIP') pkgver() { - cd "$pkgname" + cd "$_srcname" # git, tags available git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' } build() { - cd "${pkgname}/build" + cd "${_srcname}/build" cmake \ -DBUILD_SHARED_LIBS:BOOL='ON' \ @@ -36,9 +37,10 @@ build() { } package() { - cd "${pkgname}/build" + cd "${_srcname}/build" + make DESTDIR="$pkgdir" install - cd "${srcdir}/${pkgname}" + cd "${srcdir}/${_srcname}" install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } |