diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c4debb49968e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = shtool + pkgdesc = GNU shtool is a compilation of small but very stable and portable shell scripts into a single shell tool. + pkgver = 2.0.8 + pkgrel = 2 + url = http://www.gnu.org/software/shtool/ + arch = i686 + arch = x86_64 + license = GPL + depends = perl + source = ftp://ftp.gnu.org/gnu/shtool/shtool-2.0.8.tar.gz + md5sums = c5f7c6836882d48bc79049846a5f9c5b + +pkgname = shtool + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..953100b945c7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Tsipizidis Charalampos <tsipizic@gmail.com> +# Contributor: Evan Gates <evan.gates@gmail.com> +# phloyd <phloyd@iki.fi> +# Brandon Invergo <brandon@invergo.net> + +pkgname=shtool +pkgver=2.0.8 +pkgrel=2 +pkgdesc="GNU shtool is a compilation of small but very stable and portable shell scripts into a single shell tool." +url="http://www.gnu.org/software/shtool/" +license=(GPL) +arch=(i686 x86_64) +depends=(perl) +source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('c5f7c6836882d48bc79049846a5f9c5b') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install || return 1 +} |