diff options
author | root <root@rshg054.dnsready.net> | 2012-02-07 23:15:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-07 23:15:14 +0000 |
commit | 0dee03071a0643c3ee5820afa3c694dcef71d385 (patch) | |
tree | 2aa6cbee930040086600726e496a2bd87ec41ba8 /community/e3 | |
parent | 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (diff) |
Tue Feb 7 23:15:14 UTC 2012
Diffstat (limited to 'community/e3')
-rw-r--r-- | community/e3/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/e3/PKGBUILD b/community/e3/PKGBUILD new file mode 100644 index 000000000..b23534ff6 --- /dev/null +++ b/community/e3/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 63897 2012-02-06 16:46:33Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Roberto Alsina <ralsina@kde.org> +pkgname=e3 +pkgver=2.8 +pkgrel=2 +pkgdesc="Tiny text editor written in assembly, that doesn't depend on any libraries" +arch=('x86_64' 'i686') +url="http://sites.google.com/site/e3editor/" +license=('GPL2') +makedepends=('nasm') +options=('!strip') +source=("http://sites.google.com/site/e3editor/Home/$pkgname-$pkgver.tgz") +sha256sums=('035737d0cc82b287386fdff8682b2c23ef620d7ef97dff7a1b1fe1777e4c4fb7') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i 's:$(BINDIR)/e3 :e3 :' Makefile + make clean + if [ "$CARCH" == "i686" ]; then + make EXMODE=_ 32 + else + make EXMODE=_ 64 + fi +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make PREFIX="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man/man1" install + install -Dm644 COPYING.GPL "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +# vim:set ts=2 sw=2 et: |