[arch-commits] Commit in asplib/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 21:41:56 UTC 2018
Date: Friday, November 9, 2018 @ 21:41:55
Author: felixonmars
Revision: 404738
archrelease: copy trunk to community-staging-x86_64
Added:
asplib/repos/community-staging-x86_64/
asplib/repos/community-staging-x86_64/PKGBUILD
(from rev 404736, asplib/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: asplib/repos/community-staging-x86_64/PKGBUILD (from rev 404736, asplib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-09 21:41:55 UTC (rev 404738)
@@ -0,0 +1,34 @@
+# Maintainer: BlackEagle <ike.devolder at gmail.com>>
+
+pkgname=asplib
+_commit=da66f51
+pkgver=20160310.da66f51
+pkgrel=2
+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