[arch-commits] Commit in suscan/repos (community-x86_64 community-x86_64/PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sun Apr 12 19:40:36 UTC 2020


    Date: Sunday, April 12, 2020 @ 19:40:35
  Author: ffy00
Revision: 613467

archrelease: copy trunk to community-x86_64

Added:
  suscan/repos/community-x86_64/
  suscan/repos/community-x86_64/PKGBUILD
    (from rev 613466, suscan/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: suscan/repos/community-x86_64/PKGBUILD (from rev 613466, suscan/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-04-12 19:40:35 UTC (rev 613467)
@@ -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