[arch-commits] Commit in gerbv/trunk (ChangeLog PKGBUILD)
Kyle Keen
kkeen at gemini.archlinux.org
Thu Nov 25 11:48:22 UTC 2021
Date: Thursday, November 25, 2021 @ 11:48:21
Author: kkeen
Revision: 1054768
upgpkg: gerbv 2.8.1-1
Modified:
gerbv/trunk/ChangeLog
gerbv/trunk/PKGBUILD
-----------+
ChangeLog | 5 +++++
PKGBUILD | 18 +++++++++++++-----
2 files changed, 18 insertions(+), 5 deletions(-)
Modified: ChangeLog
===================================================================
--- ChangeLog 2021-11-25 11:42:20 UTC (rev 1054767)
+++ ChangeLog 2021-11-25 11:48:21 UTC (rev 1054768)
@@ -1,3 +1,8 @@
+2021-11-25 Kyle Keen <keenerd at gmail.com>
+ * 2.8.1-1
+ - Version bump
+ - Change sources to github
+
2018-01-28 Kyle Keen <keenerd at gmail.com>
* 2.7.0-1
- Version bump
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-25 11:42:20 UTC (rev 1054767)
+++ PKGBUILD 2021-11-25 11:48:21 UTC (rev 1054768)
@@ -3,8 +3,8 @@
# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
pkgname=gerbv
-pkgver=2.7.0
-pkgrel=2
+pkgver=2.8.1
+pkgrel=1
pkgdesc="An open source Gerber file (RS-274X only) viewer"
#url="http://gerbv.gpleda.org/"
url="http://gerbv.geda-project.org/"
@@ -15,9 +15,17 @@
makedepends=('cvs' 'gettext')
# cvs for autopoint
changelog=ChangeLog
-source=("https://downloads.sourceforge.net/gerbv/$pkgname-$pkgver.tar.gz")
-md5sums=('2d09c69bc12ab76f29006daaadb78ad9')
+#source=("https://downloads.sourceforge.net/gerbv/$pkgname-$pkgver.tar.gz")
+source=("gerbv-$pkgver.tgz::https://github.com/gerbv/gerbv/archive/refs/tags/v$pkgver.tar.gz")
+md5sums=('f81675716efa5040a1bdc8cce26629df')
+prepare ()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i "21 i VERSION=$pkgver" src/Makefile.am
+ sed -i "64 i #define VERSION \"$pkgver\"" src/gerbv.h
+}
+
build ()
{
cd "$srcdir/$pkgname-$pkgver"
@@ -26,7 +34,7 @@
sed -i 's|am_aux_dir=`cd $ac_aux_dir|am_aux_dir=`cd $srcdir|' configure
./configure --prefix=/usr \
--disable-update-desktop-database
- make
+ make
}
package()
More information about the arch-commits
mailing list