summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2019-12-28 18:45:11 +0300
committerViktor Drobot2019-12-28 18:45:11 +0300
commit524c2ba6d99cb3b661623860d9c4b9fd636306df (patch)
tree42e00242dfd619b751e563c7ce0b76fd513f3a41
parentbf0f4189984bf1a28316e548f312b84418d61cfb (diff)
downloadaur-524c2ba6d99cb3b661623860d9c4b9fd636306df.tar.gz
Move to cmake build
-rw-r--r--PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b4c102a3bf7..08986afb7b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}