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

Antonio Rojas arojas at archlinux.org
Fri Mar 17 20:53:48 UTC 2017


    Date: Friday, March 17, 2017 @ 20:53:47
  Author: arojas
Revision: 216979

Update to 1.18.0

Modified:
  mate-netbook/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-17 20:50:56 UTC (rev 216978)
+++ PKGBUILD	2017-03-17 20:53:47 UTC (rev 216979)
@@ -1,9 +1,7 @@
 # Contributor: Martin Wimpress <code at flexion.org>
 
-_ver=1.16
-_pkgbase=mate-netbook
-pkgname=${_pkgbase}
-pkgver=${_ver}.1
+pkgname=mate-netbook
+pkgver=1.18.0
 pkgrel=1
 pkgdesc="A simple window management tool (GTK2 version)"
 url="http://mate-desktop.org"
@@ -12,21 +10,21 @@
 depends=('libfakekey' 'mate-panel')
 makedepends=('intltool')
 groups=('mate-extra')
-conflicts=("${_pkgbase}-gtk3")
-source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
-sha1sums=('94790796ce349f009482c8bdb8647aef89f6f28b')
+conflicts=('mate-netbook-gtk3')
+replaces=('mate-netbook-gtk3')
+source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('3498fb639d9ce7d77e7a01520ce0b8d3ea840099')
 
 build() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd ${pkgname}-${pkgver}
     ./configure \
         --prefix=/usr \
-        --libexec=/usr/lib/${_pkgbase} \
-        --sysconfdir=/etc \
-        --with-gtk=2.0
+        --libexec=/usr/lib/${pkgname} \
+        --sysconfdir=/etc
     make
 }
 
 package() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    cd ${pkgname}-${pkgver}
     make DESTDIR="${pkgdir}" install
 }


More information about the arch-commits mailing list