Date: Sunday, March 26, 2023 @ 23:58:13
Author: spupykin
Revision: 1429318
upgpkg: parcellite 1.2.2-1
Modified:
parcellite/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-26 23:02:13 UTC (rev 1429317)
+++ PKGBUILD 2023-03-26 23:58:13 UTC (rev 1429318)
@@ -2,28 +2,34 @@
# Maintainer: Alexander Fehr <pizzapunk gmail com>
pkgname=parcellite
-pkgver=1.2.1
-pkgrel=4
+pkgver=1.2.2
+pkgrel=1
pkgdesc="Lightweight GTK+ clipboard manager"
arch=('x86_64')
url="http://parcellite.sourceforge.net/"
license=('GPL3')
-depends=('gtk2' 'xdotool')
-makedepends=('intltool')
+depends=('gtk2')
+makedepends=('intltool' 'psmisc')
optdepends=('xdotool')
-source=(https://downloads.sourceforge.net/parcellite/parcellite-$pkgver.tar.gz
- fix-crash.patch)
-sha256sums=('aba1c7c56c7607e219ce9855723eefa552c5376982891aefbfb5a2d3297ef046'
- '8fe1e86958d371c9fa9474fe64b203ed483f636f3f98152237402ea84b2d2cbd')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rickyrockrat/parcellite/archive/refs/tags/$pkgver.tar.gz")
+sha256sums=('50c45015c82c75d7b90586d5f4c0fa02568b769806c39afa2369f5713d2f9f49')
prepare() {
cd "$srcdir/parcellite-$pkgver"
- patch -Np1 <"$srcdir"/fix-crash.patch
+ touch src/config.simple.h
}
build() {
cd "$srcdir/parcellite-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc
+ test -x configure || (
+ # Hack: was not able to avoid final warning easily in gettextize
+ (sleep 5 ; killall gettextize)&
+ ./autogen.sh
+ )
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-appindicator=no
make
}