T.J. Townsend pushed to branch main at Arch Linux / Packaging / Packages / mg


Commits:
fa796c73 by T.J. Townsend at 2024-04-04T12:56:30-04:00
upgpkg: 20230501-2: build from git tag

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,14 @@
+pkgbase = mg
+       pkgdesc = Micro GNU/emacs
+       pkgver = 20230501
+       pkgrel = 2
+       url = https://github.com/hboetes/mg
+       arch = x86_64
+       license = custom
+       makedepends = git
+       depends = ncurses
+       depends = libbsd
+       source = git+https://github.com/hboetes/mg.git#tag=20230501
+       sha256sums = 
83b589f160953e1acc9af0f338fb8189bd331ac0cf40ef49b4c48a7170d5ca43
+
+pkgname = mg


=====================================
PKGBUILD
=====================================
@@ -5,23 +5,23 @@
 
 pkgname=mg
 pkgver=20230501
-pkgrel=1
+pkgrel=2
 pkgdesc="Micro GNU/emacs"
 arch=('x86_64')
 url="https://github.com/hboetes/mg";
+makedepends=('git')
 depends=('ncurses' 'libbsd')
 license=('custom')
-#source=("https://homepage.boetes.org/software/mg/mg-$pkgver.tar.gz";)
-source=("mg-$pkgver.tgz::https://github.com/hboetes/mg/archive/$pkgver.tar.gz";)
-sha256sums=('e2878feca64067a0c524e456ffba68d8cb69bcdce0943d2f2b69cad06174462e')
+source=("git+https://github.com/hboetes/mg.git#tag=${pkgver}";)
+sha256sums=('83b589f160953e1acc9af0f338fb8189bd331ac0cf40ef49b4c48a7170d5ca43')
 
 build() {
-  cd mg-$pkgver
+  cd mg
   make prefix=/usr mandir=/usr/share/man
 }
 
 package() {
-  cd mg-$pkgver
+  cd mg
 
   make install INSTALL=install prefix=/usr mandir=/usr/share/man 
DESTDIR="$pkgdir" BINDIR=/usr/bin
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mg/-/commit/fa796c7361e80c6f3fb2fa17ef458b63e2b8204e

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


Reply via email to