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

Maxime Gauduin alucryd at archlinux.org
Tue Aug 27 20:32:14 UTC 2019


    Date: Tuesday, August 27, 2019 @ 20:32:13
  Author: alucryd
Revision: 503322

upgpkg: plank 0.11.89-1

Modified:
  plank/trunk/PKGBUILD

----------+
 PKGBUILD |   57 +++++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 41 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-27 19:48:58 UTC (rev 503321)
+++ PKGBUILD	2019-08-27 20:32:13 UTC (rev 503322)
@@ -3,32 +3,57 @@
 # Contributor: dcelasun <dcelasun at gmail.com>
 
 pkgname=plank
-pkgver=0.11.4
-pkgrel=2
+pkgver=0.11.89
+pkgrel=1
 pkgdesc='Elegant, simple, clean dock'
-arch=('x86_64')
-url='https://launchpad.net/plank'
-license=('GPL3')
-depends=('atk' 'bamf' 'cairo' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3'
-         'libgee' 'libwnck3' 'libx11' 'libxfixes' 'libxi' 'pango')
-makedepends=('gnome-common' 'intltool' 'vala')
-source=("https://launchpad.net/plank/1.0/${pkgver}/+download/plank-${pkgver}.tar.xz")
-sha256sums=('88b5cd6a84e67395df5e7cc1869521126830be0e8a509b28ee12e2db0b8981b8')
+arch=(x86_64)
+url=https://launchpad.net/plank
+license=(GPL3)
+depends=(
+  atk
+  bamf
+  cairo
+  gdk-pixbuf2
+  glib2
+  glibc
+  gnome-menus
+  gtk3
+  libgee
+  libwnck3
+  libx11
+  libxfixes
+  libxi
+  pango
+)
+makedepends=(
+  git
+  gnome-common
+  intltool
+  vala
+)
+source=(git+https://github.com/ricotz/plank.git#tag=${pkgver})
+sha256sums=(SKIP)
 
+prepare() {
+  cd plank
+
+  sed 's/0.19.6/0.20/' -i configure.ac
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd plank-${pkgver}
+  cd plank
 
   ./configure \
-    --prefix='/usr' \
-    --sysconfdir='/etc' \
+    --prefix=/usr \
+    --sysconfdir=/etc \
     --disable-apport
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
 package() {
-  cd plank-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" -C plank install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list