aboutsummaryrefslogtreecommitdiffstats
path: root/main/checkbashisms/APKBUILD
blob: d46e7847db7e05e6dc87db6228e24864e58b6cd7 (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
32
33
34
35
36
37
38
# Maintainer: Natanael Copa
pkgname=checkbashisms
pkgver=2.0.0.2
pkgrel=1
pkgdesc="Basic checks on shell scripts for the presence of non portable syntax"
url="http://sourceforge.net/projects/checkbaskisms/"
arch="noarch"
license="GPL2"
depends="perl"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="http://downloads.sourceforge.net/project/checkbaskisms/$pkgver/checkbashisms"

_builddir="$srcdir"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	install -D -m755 "$srcdir"/$pkgname "$pkgdir"/usr/bin/$pkgname
}

md5sums="1261d0c5aafedc15ab4405c1969deacf  checkbashisms"
sha256sums="4da61b7f08b55609e80c648d215f0201aa9b5f1df53aab6252129537a7f7a0ee  checkbashisms"
sha512sums="cd9376f4c34773aba79f81b8bb129d912844102e91e363480b9983092efd36c4827e0447242aecfcdb3cfd4cc50e19e105cc645368e8c9735f49c8e381964dd4  checkbashisms"