[arch-commits] Commit in asplib/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:39:36 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:39:35
  Author: felixonmars
Revision: 658554

archrelease: copy trunk to community-staging-x86_64

Added:
  asplib/repos/community-staging-x86_64/
  asplib/repos/community-staging-x86_64/PKGBUILD
    (from rev 658553, asplib/trunk/PKGBUILD)

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

Copied: asplib/repos/community-staging-x86_64/PKGBUILD (from rev 658553, asplib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:39:35 UTC (rev 658554)
@@ -0,0 +1,34 @@
+# Maintainer: BlackEagle <ike.devolder at gmail.com>>
+
+pkgname=asplib
+_commit=da66f51
+pkgver=20160310.da66f51
+pkgrel=3
+pkgdesc="Achim's Signal Processing LIBrary"
+arch=('x86_64')
+url='https://github.com/AchimTuran/asplib'
+license=('GPL')
+depends=('gcc-libs')
+makedepends=('git' 'cmake')
+source=("$pkgname::git://github.com/AchimTuran/asplib.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+	cd "$pkgname"
+	git log -1 --date=short --format="%cd.%h" | tr -d '-'
+}
+
+build() {
+	cd "$pkgname"
+	cmake \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DBUILD_SHARED_LIBS=1
+	make
+}
+
+package() {
+	cd "$pkgname"
+	make DESTDIR="$pkgdir/" install
+}
+


More information about the arch-commits mailing list