[arch-commits] Commit in sigutils/trunk (PKGBUILD)

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


    Date: Sunday, April 12, 2020 @ 19:34:47
  Author: ffy00
Revision: 613463

upgpkg: sigutils 0.1.0-1

Added:
  sigutils/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-12 19:34:47 UTC (rev 613463)
@@ -0,0 +1,34 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=sigutils
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='Small signal processing utility library'
+arch=('x86_64')
+url='https://github.com/BatchDrake/sigutils'
+license=('GPL3')
+depends=('libsndfile' 'fftw' 'libvolk')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('871bbd72739463f1094748edbddf07a9641fb34b29ba78b4d241ad1116f3a85128e99800561f72348a8c7a2590e2d0b3a3b99c368246807bac7a5665fb5829ca')
+
+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