diff options
author | Konstantin Gizdov | 2018-02-21 14:32:35 +0100 |
---|---|---|
committer | Konstantin Gizdov | 2018-02-21 14:32:35 +0100 |
commit | eaa4d8071f15b7122fe3f723e85b47343c853400 (patch) | |
tree | 9a331af397b1c4cadacde11937e86932dde1cb78 | |
parent | d8dc76a1ea19ee3ed882ba47850dec4a4894840f (diff) | |
download | aur-eaa4d8071f15b7122fe3f723e85b47343c853400.tar.gz |
fix make install
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 14 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = simpletools pkgdesc = Handy command line tools for ntuple manipulation and analysis. pkgver = 2.0v.e574cc8 - pkgrel = 1 + pkgrel = 2 url = https://github.com/cofitzpa/simpletools arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=simpletools pkgver=2.0v.e574cc8 -pkgrel=1 +pkgrel=2 pkgdesc="Handy command line tools for ntuple manipulation and analysis." arch=('i686' 'x86_64') url="https://github.com/cofitzpa/simpletools" @@ -16,15 +16,22 @@ sha256sums=('SKIP' options=('!emptydirs') -package() { - # make install target is lost if done in prepare() or build() - # do everything here... +prepare() { mkdir -p "${srcdir}/${pkgname}/build" - install -d "${pkgdir}/usr/lib/" cd "${srcdir}/${pkgname}/build" msg2 'Configuring...' cmake -C "${srcdir}/settings.cmake" "${srcdir}/${pkgname}" - msg2 'Compiling & Installing...' +} + +build() { + cd "${srcdir}/${pkgname}/build" + msg2 'Compiling...' + make +} + +package() { + msg2 'Installing...' + cd "${srcdir}/${pkgname}/build" make DESTDIR="${pkgdir}" install # install tutorials |