[arch-commits] Commit in e3/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Feb 12 09:26:32 UTC 2019
Date: Tuesday, February 12, 2019 @ 09:26:31
Author: arodseth
Revision: 431860
upgpkg: e3 2.82-3
Modified:
e3/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++----------------
1 file changed, 12 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-12 08:37:56 UTC (rev 431859)
+++ PKGBUILD 2019-02-12 09:26:31 UTC (rev 431860)
@@ -1,34 +1,30 @@
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
# Contributor: Roberto Alsina <ralsina at kde.org>
pkgname=e3
pkgver=2.82
-pkgrel=2
+pkgrel=3
pkgdesc='Tiny editor without dependencies, written in assembly'
-arch=('x86_64')
-url='http://sites.google.com/site/e3editor/'
-license=('GPL2')
-makedepends=('setconf' 'nasm' 'yasm')
-options=('!strip')
+arch=(x86_64)
+url='https://sites.google.com/site/e3editor/'
+license=(GPL2)
+makedepends=(yasm)
+options=(!strip)
source=("https://sites.google.com/site/e3editor/Home/$pkgname-$pkgver.tgz")
sha256sums=('53c51d656801fd3ae0179a5b27f028e07eaba328e80c8c55050268359b9a2924')
build() {
- cd "$pkgname-$pkgver"
-
- [ $CARCH = i686 ] && bits=32 || bits=64
- make clean
- make NASM_OR_YASM=yasm "$bits"
+ make -C $pkgname-$pkgver clean
+ make -C $pkgname-$pkgver NASM_OR_YASM=yasm 64
}
package() {
cd "$pkgname-$pkgver"
-
install -Dm755 e3 "$pkgdir/usr/bin/e3"
- for bf in e3ws e3em e3pi e3vi e3ne; do
- ln -sf /usr/bin/e3 "$pkgdir/usr/bin/$bf"
+ for f in e3ws e3em e3pi e3vi e3ne; do
+ ln -sf /usr/bin/e3 "$pkgdir/usr/bin/$f"
done
install -Dm644 e3.man "$pkgdir/usr/share/man/man1/e3.1"
}
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list