diff options
author | Boohbah | 2015-07-06 21:30:09 +0000 |
---|---|---|
committer | Boohbah | 2015-07-06 21:30:09 +0000 |
commit | e425b0bca909228056e714e17a854aa760885e3e (patch) | |
tree | 37e74a19e4b3d2d21ec925c3d0006867b09e4cc2 /PKGBUILD | |
download | aur-e425b0bca909228056e714e17a854aa760885e3e.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4f74eb61575c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Boohbah <boohbah at gmail.com> + +pkgname=tiny +pkgver=20130219 +pkgrel=2 +pkgdesc="Experiments in creating very small Linux ELF executables." +arch=('i686' 'x86_64') +url="http://www.muppetlabs.com/~breadbox/software/tiny/" +license=('GPL') +makedepends=('nasm') +options=(!strip) +source=(http://www.muppetlabs.com/~breadbox/pub/software/${pkgname}.tar.gz + tiny.sh) +md5sums=('e535400bd35f3606ae2f5d067989e521' + 'e393c72f9529e5a1bae15bbd449b4637') + +build() { + cd "$srcdir/$pkgname" + make clean && make +} + +package() { + cd "$srcdir/$pkgname" + rm Makefile *.asm + mkdir -p -m755 "$pkgdir/opt/$pkgname" "$pkgdir/etc/profile.d" + cp -a * "$pkgdir/opt/$pkgname" + install -D -m755 "$srcdir/tiny.sh" "$pkgdir/etc/profile.d" +} + +# vim:set ts=2 sw=2 et: |