diff options
author | Viktor Drobot | 2019-12-28 18:45:11 +0300 |
---|---|---|
committer | Viktor Drobot | 2019-12-28 18:45:11 +0300 |
commit | 524c2ba6d99cb3b661623860d9c4b9fd636306df (patch) | |
tree | 42e00242dfd619b751e563c7ce0b76fd513f3a41 /PKGBUILD | |
parent | bf0f4189984bf1a28316e548f312b84418d61cfb (diff) | |
download | aur-524c2ba6d99cb3b661623860d9c4b9fd636306df.tar.gz |
Move to cmake build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -2,18 +2,19 @@ # Contributor: Julio Diez <juliosddr@gmail.com> pkgname=suscan-git -pkgver=r461.cb0c650 +pkgver=r479.9250ea0 pkgrel=1 pkgdesc="SUScan is a graphical signal analysis tool" arch=("any") url="https://github.com/BatchDrake/suscan" license=("GPL") depends=("soapysdr" "sigutils" "fftw" "libsndfile" "libxml2") -makedepends=("git" "autoconf" "automake" "libtool") +makedepends=("git" "cmake") provides=("suscan") conflicts=("suscan") source=($pkgname::git+https://github.com/BatchDrake/suscan.git) md5sums=('SKIP') +options=('!buildflags') pkgver() { cd "$pkgname" @@ -23,14 +24,15 @@ pkgver() { build() { cd "$pkgname" - ./autogen.sh - ./configure --prefix=/usr + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { - cd "$pkgname" + cd "$pkgname/build" make DESTDIR="$pkgdir/" install } |