[arch-commits] Commit in xfce4-notes-plugin/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Dec 23 14:48:41 UTC 2020


    Date: Wednesday, December 23, 2020 @ 14:48:40
  Author: foutrelis
Revision: 404917

upgpkg: xfce4-notes-plugin 1.8.1.r235.g0ad1e5f-1: bump to git master for gtk3 support

Modified:
  xfce4-notes-plugin/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-23 12:59:35 UTC (rev 404916)
+++ PKGBUILD	2020-12-23 14:48:40 UTC (rev 404917)
@@ -3,22 +3,29 @@
 # Contributor: Ben Mazer <contrasutra at myrealbox.com>
 
 pkgname=xfce4-notes-plugin
-pkgver=1.8.1
-pkgrel=5
-pkgdesc="A notes plugin for the Xfce4 panel"
+pkgver=1.8.1.r235.g0ad1e5f
+_commit=0ad1e5f87831b3d82785dae37789ba5554ba3fcd
+pkgrel=1
+pkgdesc="Notes plugin for the Xfce panel"
 arch=('x86_64')
 license=('GPL2')
 url="https://docs.xfce.org/panel-plugins/xfce4-notes-plugin"
 groups=('xfce4-goodies')
-depends=('xfce4-panel' 'libunique' 'hicolor-icon-theme')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('07a4c3e71431c24f97d2e270452dd0fa51ff0bdb6219a13a20d0bfa8d9de54b2')
+depends=('xfce4-panel' 'hicolor-icon-theme')
+makedepends=('intltool' 'vala' 'git' 'xfce4-dev-tools')
+#source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+source=(git+https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin#commit=$_commit)
+sha256sums=('SKIP')
 
+pkgver() {
+  cd "$srcdir/$pkgname"
+  git describe | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname"
 
-  ./configure \
+  ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
     --libexecdir=/usr/lib \
@@ -29,7 +36,7 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname"
   make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list