mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/checkbashisms: new aport
Basic checks on shell scripts for the presence of non portable syntax http://sourceforge.net/projects/checkbaskisms/
This commit is contained in:
parent
79a5c3118e
commit
4faed39d84
36
testing/checkbashisms/APKBUILD
Normal file
36
testing/checkbashisms/APKBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Maintainer: Natanael Copa
|
||||
pkgname=checkbashisms
|
||||
pkgver=2.0.0.2
|
||||
pkgrel=0
|
||||
pkgdesc="Basic checks on shell scripts for the presence of non portable syntax"
|
||||
url="http://sourceforge.net/projects/checkbaskisms/"
|
||||
arch="noarch"
|
||||
license="GPL"
|
||||
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"
|
||||
Loading…
x
Reference in New Issue
Block a user