[arch-commits] Commit in gedit-plugins/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Sep 28 13:07:10 UTC 2016
Date: Wednesday, September 28, 2016 @ 13:07:10
Author: heftig
Revision: 277248
3.22.0-1
Modified:
gedit-plugins/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-28 12:37:33 UTC (rev 277247)
+++ PKGBUILD 2016-09-28 13:07:10 UTC (rev 277248)
@@ -6,30 +6,40 @@
# Contributor: zhuqin <zhuqin83 at gmail.com>
pkgname=gedit-plugins
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.22.0
+pkgrel=1
pkgdesc="Collection of plugins for the gedit Text Editor"
arch=(x86_64 i686)
license=(GPL)
url="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins"
depends=(gedit python-dbus python-cairo)
-makedepends=(intltool vte3 libgit2-glib itstool zeitgeist gucharmap gobject-introspection vala)
+makedepends=(intltool vte3 libgit2-glib itstool gucharmap gobject-introspection vala yelp-tools git)
optdepends=('gucharmap: for charmap plugin'
'vte3: for embedded terminal'
- 'libgit2-glib: for git plugin'
- 'zeitgeist: for dashboard plugin')
+ 'libgit2-glib: for git plugin')
options=('!emptydirs')
-source=("https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz")
-sha256sums=('d4902af5f9f728e0d692ca8c2f7a9f88f6c2ab8c9be037238ffb7d3aebe757bf')
+_commit=19bfe94e46b03b94271b58d0287b3def4ab6f941 # tags/3.22.0^0
+source=("git://git.gnome.org/gedit-plugins#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile
make
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR=$pkgdir install
}
More information about the arch-commits
mailing list