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

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


    Date: Sunday, April 12, 2020 @ 19:34:56
  Author: ffy00
Revision: 613464

archrelease: copy trunk to community-x86_64

Added:
  sigutils/repos/community-x86_64/
  sigutils/repos/community-x86_64/PKGBUILD
    (from rev 613463, sigutils/trunk/PKGBUILD)

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

Copied: sigutils/repos/community-x86_64/PKGBUILD (from rev 613463, sigutils/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-04-12 19:34:56 UTC (rev 613464)
@@ -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