blob: 492b99055eb4a20de450dbe3d3066f095b126439 (
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
27
28
29
30
31
|
# Maintainer: wangjiezhe <wangjiezhe AT yandex DOT com>
pkgname=shc-git
_pkgname=shc
pkgver=4.0.3
pkgrel=1
pkgdesc="A generic shell script compiler."
arch=('any')
url="https://github.com/neurobin/shc"
license=('GPLv3')
provides=("shc")
conflicts=("shc")
source=("$_pkgname::git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --tags | sed 's/^v//;s/-/./g'
}
build() {
cd $_pkgname
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd $_pkgname
make DESTDIR="$pkgdir/" install
}
|