[arch-commits] Commit in gnote/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 20:52:40 UTC 2016
Date: Tuesday, September 27, 2016 @ 20:52:40
Author: heftig
Revision: 277177
3.22.0-1
Modified:
gnote/trunk/PKGBUILD
----------+
PKGBUILD | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 20:51:53 UTC (rev 277176)
+++ PKGBUILD 2016-09-27 20:52:40 UTC (rev 277177)
@@ -3,7 +3,7 @@
# Contributor: uastasi <uastasi at archlinux.us>
pkgname=gnote
-pkgver=3.20.1
+pkgver=3.22.0
pkgrel=1
pkgdesc="A note taking application"
url="https://wiki.gnome.org/Apps/Gnote"
@@ -10,12 +10,27 @@
arch=(i686 x86_64)
license=(GPL3)
depends=(gtkmm3 gtkspell3 libxslt dconf libsecret)
-makedepends=(intltool itstool boost)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('75acffdc2c0cc8cd226dc4471e6624d523bbd86c415ef4e05be70cbbfd4014e7')
+makedepends=(intltool itstool boost yelp-tools autoconf-archive git)
+_commit=83d47b3c4a4a29f776611074812f3478832d30d9 # tags/3.22.0^0
+source=("git://git.gnome.org/gnote#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+
+ # Work around aclocal exiting with "too many loops"
+ cp /usr/share/aclocal/ax_require_defined.m4 m4
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -27,11 +42,11 @@
}
check() {
- cd $pkgname-$pkgver
+ cd $pkgname
make check
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list