# 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
}
