[arch-commits] Commit in gedit/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Sep 28 08:57:44 UTC 2016


    Date: Wednesday, September 28, 2016 @ 08:57:43
  Author: jgc
Revision: 277230

upgpkg: gedit 3.22.0+4+g2c70ccb-1

Modified:
  gedit/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-28 08:28:58 UTC (rev 277229)
+++ PKGBUILD	2016-09-28 08:57:43 UTC (rev 277230)
@@ -3,26 +3,37 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gedit
-pkgver=3.20.2
+pkgver=3.22.0+4+g2c70ccb
 pkgrel=1
 pkgdesc="A text editor for GNOME"
 arch=(i686 x86_64)
 license=(GPL)
 depends=(gtksourceview3 gsettings-desktop-schemas libpeas gspell python-gobject dconf)
-makedepends=(yelp-tools intltool vala gobject-introspection)
+makedepends=(yelp-tools intltool vala gobject-introspection gnome-common git gtk-doc)
 optdepends=('gedit-plugins: Additional features')
 groups=(gnome-extra)
 options=('!emptydirs')
 url="http://www.gnome.org"
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('32a1276a71a0d4a5af4e20a87bc273170ba8e075fc1ca7f51c8d3a6c150463f8')
+_commit=2c70ccb86ff7d20de5eb87e988f10d891178442b  # master
+source=("git://git.gnome.org/gedit#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 --localstatedir=/var \
       --libexecdir=/usr/lib --disable-updater --disable-schemas-compile \
-      --enable-python
+      --enable-python --enable-gtk-doc
 
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
@@ -29,6 +40,6 @@
 }
 
 package(){
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
+  cd $pkgname
+  make -j1 DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list