summaryrefslogtreecommitdiff
path: root/pcr/shc/PKGBUILD
blob: 43af2cf6a8f76240db23c3725b9cfa294506f646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}