diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-08-26 22:10:59 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-28 06:42:01 +0000 |
commit | 88599fd76808ee41b5b771e04460ffbe7a0360c1 (patch) | |
tree | ba9c0f9a3e893c6e7147f17988a8ab6425352a2c /main/checkbashisms | |
parent | 271e38d0416ca572833242d05c45ac15853a4f4e (diff) | |
download | aports-88599fd76808ee41b5b771e04460ffbe7a0360c1.tar.bz2 aports-88599fd76808ee41b5b771e04460ffbe7a0360c1.tar.xz |
main/checkbashisms: modernize APKBUILD
Diffstat (limited to 'main/checkbashisms')
-rw-r--r-- | main/checkbashisms/APKBUILD | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/main/checkbashisms/APKBUILD b/main/checkbashisms/APKBUILD index ccbaf4bd6a..5ade783c26 100644 --- a/main/checkbashisms/APKBUILD +++ b/main/checkbashisms/APKBUILD @@ -1,38 +1,19 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=checkbashisms pkgver=2.0.0.2 -pkgrel=2 +pkgrel=3 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" -} +builddir="$srcdir" package() { - cd "$_builddir" + cd "$builddir" install -D -m755 "$srcdir"/$pkgname "$pkgdir"/usr/bin/$pkgname } -md5sums="1261d0c5aafedc15ab4405c1969deacf checkbashisms" -sha256sums="4da61b7f08b55609e80c648d215f0201aa9b5f1df53aab6252129537a7f7a0ee checkbashisms" sha512sums="cd9376f4c34773aba79f81b8bb129d912844102e91e363480b9983092efd36c4827e0447242aecfcdb3cfd4cc50e19e105cc645368e8c9735f49c8e381964dd4 checkbashisms" |