From 6d530fe2377e979a8b7ec1f2315292fc9421b6c0 Mon Sep 17 00:00:00 2001 From: David P Date: Wed, 8 Nov 2017 14:35:21 -0300 Subject: Add new package: pcr/shc Yay! made from scratch, not using the crappy AUR PKGBUILD --- pcr/shc/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pcr/shc/PKGBUILD 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. + +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 +} -- cgit v1.2.3