diff options
author | Aetf | 2018-10-08 16:51:17 -0400 |
---|---|---|
committer | Aetf | 2018-10-08 16:51:17 -0400 |
commit | b36c37559c3f4281001d200bbeac056ec65ced81 (patch) | |
tree | bcfc2f0dfa75690d1c94941c0f95887b8e94e7d9 /PKGBUILD | |
parent | e3293df8218313616444f8325cfac3a1c968985d (diff) | |
download | aur-b36c37559c3f4281001d200bbeac056ec65ced81.tar.gz |
Build with cmake
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -1,7 +1,7 @@ # Maintainer: Aetf <aetf at unlimitedcodeworks dor xyz> pkgname=libtsm-patched-git _gitname=libtsm -pkgver=3.r26.gea1697e +pkgver=4.0.0.r18.ga0916ac pkgrel=1 pkgdesc="Terminal-emulator State Machine. Patched flavor (using patches from http://github.com/Aetf/libtsm)" arch=('x86_64' 'armv7h') @@ -23,18 +23,27 @@ pkgver() { prepare() { cd "$srcdir/$_gitname" - test -f ./configure || NOCONFIGURE=1 ./autogen.sh - ./configure --prefix=/usr + mkdir build && cd build + + cmake \ + -DBUILD_TESTING=OFF \ + -DBUILD_GTKTSM=OFF \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + .. } build() { - cd "$srcdir/$_gitname" + cd "$srcdir/$_gitname/build" make } package() { cd "$srcdir/$_gitname" install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_gitname/COPYING" + + cd build make DESTDIR="$pkgdir/" install } |