summaryrefslogtreecommitdiff
path: root/extra/libcerf/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-12-10 19:32:55 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2019-12-10 19:32:55 +0100
commit246d56ed1e32f1d57b0df181dc03f3a830f82caa (patch)
tree93c00e223c9997e712d858b1f0f33b0285dfdf5b /extra/libcerf/PKGBUILD
parentdbc4c37c6716f86e1fc35512b552c217deba97ae (diff)
downloadpackages-246d56ed1e32f1d57b0df181dc03f3a830f82caa.tar.xz
extra/libcerf: using trunk, as extra repo contains a broken source URL
Diffstat (limited to 'extra/libcerf/PKGBUILD')
-rw-r--r--extra/libcerf/PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/libcerf/PKGBUILD b/extra/libcerf/PKGBUILD
new file mode 100644
index 00000000..763614c6
--- /dev/null
+++ b/extra/libcerf/PKGBUILD
@@ -0,0 +1,18 @@
+# use from master, source mentioned in extra repo has gone
+source=(https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v$pkgver/libcerf-v$pkgver.tar.gz)
+sha256sums=('e4699f81af838aef5b3e77209fec8e9820a4f492d598fb5a070800854976a305')
+
+eval "$(
+ declare -f package | \
+ sed '
+ s/$pkgname-$pkgver/$pkgname-v$pkgver/
+ '
+)"
+
+eval "$(
+ declare -f build | \
+ sed '
+ s/$pkgname-$pkgver/$pkgname-v$pkgver/
+ '
+)"
+$pkgname-v$pkgver