[arch-commits] Commit in suscan/repos (2 files)
Kyle Keen
kkeen at gemini.archlinux.org
Fri Jul 23 13:03:00 UTC 2021
Date: Friday, July 23, 2021 @ 13:03:00
Author: kkeen
Revision: 984452
archrelease: copy trunk to community-staging-x86_64
Added:
suscan/repos/community-staging-x86_64/
suscan/repos/community-staging-x86_64/PKGBUILD
(from rev 984451, suscan/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: suscan/repos/community-staging-x86_64/PKGBUILD (from rev 984451, suscan/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-07-23 13:03:00 UTC (rev 984452)
@@ -0,0 +1,34 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=suscan
+pkgver=0.1.0
+pkgrel=5
+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