[arch-commits] Commit in suscan/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun Apr 12 19:40:32 UTC 2020
Date: Sunday, April 12, 2020 @ 19:40:32
Author: ffy00
Revision: 613466
upgpkg: suscan 0.1.0-1
Added:
suscan/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-12 19:40:32 UTC (rev 613466)
@@ -0,0 +1,34 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=suscan
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='Channel scanner based on sigutils library'
+arch=('x86_64')
+url='https://github.com/BatchDrake/suscan'
+license=('GPL3')
+depends=('sigutils' 'libsndfile' 'fftw' 'soapysdr' 'libxml2' 'libvolk')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('1ae42fb2ebe762b77040b4f2bee70b213e89ce9c348c7b4d589600d0bc764a402cf5bbf8488d8f69bdb4c03aea44cbf6384ad986dac217591caab563bdc09fc6')
+
+build() {
+ mkdir $pkgname-$pkgver/build
+ cd $pkgname-$pkgver/build
+
+ export CFLAGS+=" ${CPPFLAGS}"
+ export CXXFLAGS+=" ${CPPFLAGS}"
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver/build
+
+ make DESTDIR="$pkgdir" install
+}
+
More information about the arch-commits
mailing list