diff options
author | Jon Gjengset | 2015-10-10 18:34:37 -0400 |
---|---|---|
committer | Jon Gjengset | 2015-10-10 18:34:37 -0400 |
commit | 0f99fe48242d9debdc95c7d42264b9f6c1d90817 (patch) | |
tree | 2d0bbc5d9bf2f04cb0e74556aa6ef42a0ac749dc /PKGBUILD | |
parent | f8822e9ac95a95685697e19ae4a64cb7921e623e (diff) | |
download | aur-0f99fe48242d9debdc95c7d42264b9f6c1d90817.tar.gz |
Fix install following plasma-umass/coz@11e868ee3ce8e76d811ca7f97f82dfc00e79af98
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,7 +1,7 @@ # Maintainer: Jon Gjengset <jon@thesquareplanet.com> pkgname=coz-git -pkgver=r246.479a3c1 -pkgrel=2 +pkgver=r258.11e868e +pkgrel=1 pkgdesc="a new kind of profiler that measures optimization potential" arch=('x86_64') url="https://github.com/plasma-umass/coz" @@ -10,8 +10,8 @@ depends=('python' 'clang>=3.1') makedepends=('git') options=() install= -source=('coz-git::git+https://github.com/plasma-umass/coz.git' 'fix-preload-path.patch') -md5sums=('SKIP' '273946cb7d19ad5697c68893b312cd64') +source=('coz-git::git+https://github.com/plasma-umass/coz.git') +md5sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" @@ -20,19 +20,19 @@ pkgver() { prepare() { cd "$srcdir/$pkgname" - msg2 "Fix LD_PRELOAD path set by coz wrapper" - patch -Np1 < "$srcdir/fix-preload-path.patch" } build() { cd "$srcdir/$pkgname" - make + make -C libcoz } package() { cd "$srcdir/$pkgname" - install -Dm755 "$srcdir/$pkgname/coz" "$pkgdir/usr/bin/coz" - install -Dm644 "$srcdir/$pkgname/libcoz/libcoz.so" "$pkgdir/usr/share/coz/libcoz.so" + install -Dm755 "$srcdir/$pkgname/coz" "$pkgdir/usr/share/coz/coz" + install -d "$pkgdir/usr/bin" + ln -sfn "/usr/share/coz/coz" "$pkgdir/usr/bin" + install -Dm644 "$srcdir/$pkgname/libcoz/libcoz.so" "$pkgdir/usr/share/coz/libcoz/libcoz.so" install -Dm644 "$srcdir/$pkgname/include/coz.h" "$pkgdir/usr/include/coz.h" } |