Alexander Rødseth pushed to branch main at Arch Linux / Packaging / Packages / 
e3


Commits:
85331cfe by Alexander F. Rødseth at 2024-07-27T10:26:05+02:00
upgpkg: 2.82-7

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,14 @@
+pkgbase = e3
+       pkgdesc = Tiny text editor written in Assembly
+       pkgver = 2.82
+       pkgrel = 7
+       url = https://packages.debian.org/sid/e3
+       arch = x86_64
+       license = GPL-2.0-only
+       makedepends = setconf
+       makedepends = yasm
+       options = !strip
+       source = 
e3-2.82.tar.gz::http://deb.debian.org/debian/pool/main/e/e3/e3_2.82+dfsg.orig.tar.gz
+       b2sums = 
22e78f7f1c11e003567719b111133de9f573523f26f5c8030e4c1a0212fb7652456956a54ecaa851ba2be6e26e8aae8f73b7777a66618979dd4809fc05d07aa1
+
+pkgname = e3


=====================================
PKGBUILD
=====================================
@@ -3,22 +3,29 @@
 
 pkgname=e3
 pkgver=2.82
-pkgrel=6
-pkgdesc='Tiny editor without dependencies, written in assembly'
+pkgrel=7
+pkgdesc='Tiny text editor written in Assembly'
 arch=(x86_64)
-url='https://sites.google.com/site/e3editor/'
-license=(GPL2)
-makedepends=(yasm)
+url='https://packages.debian.org/sid/e3'
+license=(GPL-2.0-only)
+makedepends=(setconf yasm)
 options=(!strip)
-source=("$pkgname-$pkgver.tar.gz::https://drive.google.com/uc?export=download&id=1ZNWI-Fl7Zc69H0hX1WpLpwG9mxUcZf30";)
-b2sums=('09edea9063657373cf6d7d9d8290dddf17b8fb516538d89b83462176127b8b43832bd81f326eec5504116f05ab780023832b8b5d41d72e3ab8e726d89e364a36')
+source=("$pkgname-$pkgver.tar.gz::http://deb.debian.org/debian/pool/main/e/e3/${pkgname}_$pkgver+dfsg.orig.tar.gz";)
+b2sums=('22e78f7f1c11e003567719b111133de9f573523f26f5c8030e4c1a0212fb7652456956a54ecaa851ba2be6e26e8aae8f73b7777a66618979dd4809fc05d07aa1')
+
+prepare() {
+  cd "$pkgname-$pkgver+dfsg"
+  setconf Makefile PREFIX /usr
+}
 
 build() {
-  make -C $pkgname-$pkgver NASM_OR_YASM=yasm clean 64
+  cd "$pkgname-$pkgver+dfsg"
+  make clean
+  make NASM_OR_YASM=yasm 64
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver+dfsg"
   install -Dm755 e3 "$pkgdir/usr/bin/e3"
   for f in e3ws e3em e3pi e3vi e3ne; do
     ln -sf /usr/bin/e3 "$pkgdir/usr/bin/$f"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/e3/-/commit/85331cfe7e24f7527e59b37551555e8258f2a994

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/e3/-/commit/85331cfe7e24f7527e59b37551555e8258f2a994
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to