summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/shc/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/shc/PKGBUILD b/pcr/shc/PKGBUILD
new file mode 100644
index 000000000..43af2cf6a
--- /dev/null
+++ b/pcr/shc/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: David P. <megver83@parabola.nu>
+
+pkgname=shc
+pkgver=3.9.6
+pkgrel=1
+pkgdesc="Shell script compiler"
+arch=(any)
+url="http://neurobin.github.io/shc"
+license=('GPL')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/neurobin/$pkgname/archive/$pkgver.tar.gz"
+ "https://github.com/neurobin/shc/releases/download/3.9.6/shc-3.9.6.tar.gz.asc")
+sha512sums=('dbda4af6740a8a719976d7260133ab3d92552ea08416e2b1ec4815e83349507ed68eb1e52a78b34e2c129dd40eafcce84ef7bf0d97d28073ee3af4598f804ed2'
+ 'SKIP')
+validpgpkeys=(333161375B2227ACF7AA6351A4A2CA5B6BDAA871 # Md Jahidul Hamid
+)
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}