diff options
author | Stephen Gregoratto | 2018-02-16 14:36:40 +1100 |
---|---|---|
committer | Stephen Gregoratto | 2018-02-16 14:36:40 +1100 |
commit | b4008dea54dfb48cf3cdb86044e745af5a40369f (patch) | |
tree | 583d7f56e4601126354406c0878b77fe1de993cd | |
parent | 3f6e40f183c24dc6b405d8157fdf7eddddf18b33 (diff) | |
download | aur-b4008dea54dfb48cf3cdb86044e745af5a40369f.tar.gz |
Simplify build
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -2,7 +2,7 @@ pkgname=otpclient-git _dirname="OTPClient" -pkgver=v1.1.0 +pkgver=v1.1.0.r0.457122e pkgrel=1 pkgdesc="Simple GTK+ v3 TOTP/HOTP client that uses libcotp" arch=('x86_64') @@ -20,14 +20,10 @@ pkgver() { } build() { - cd $_dirname - mkdir build - cd build - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. + cmake "$_dirname"/ -DCMAKE_INSTALL_PREFIX:PATH=/usr make } package() { - cd $_dirname/build make DESTDIR="$pkgdir/" install } |