[arch-commits] Commit in geany-plugins/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Jan 5 11:35:12 UTC 2021
Date: Tuesday, January 5, 2021 @ 11:35:12
Author: arodseth
Revision: 808831
upgpkg: geany-plugins 1.37-1
Modified:
geany-plugins/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-05 11:34:48 UTC (rev 808830)
+++ PKGBUILD 2021-01-05 11:35:12 UTC (rev 808831)
@@ -5,13 +5,12 @@
pkgname=geany-plugins
pkgver=1.37
-pkgrel=2
+pkgrel=1
pkgdesc='Plugins for Geany'
arch=(x86_64)
url='https://plugins.geany.org/'
license=(GPL)
-depends=(ctpl "geany>=$pkgver" gpgme gtkspell3 libgit2 lua51 python vte3
- webkit2gtk)
+depends=(ctpl "geany>=$pkgver" gpgme gtkspell3 libgit2 lua51 python vte3 webkit2gtk)
makedepends=(cppcheck intltool)
source=("$url$pkgname/$pkgname-$pkgver.tar.bz2"{,.sig})
sha256sums=('c98f9b1303f4ab9bed7587e749cd0b5594d9136a1bf8ba110900d46a17fa9cd8'
@@ -19,20 +18,23 @@
validpgpkeys=('6BEC027CD44552A5B566F28DB7A4039D0630EA07') # Frank Lanitz <frank at geany.org>
prepare() {
- cd "$pkgname-$pkgver"
+ cd $pkgname-$pkgver
autoreconf -fi
+ # fix for not redefining bool in PrettyPrinter.h
+ sed -i 's/bool/uibool/g' pretty-printer/src/PrettyPrinter.{c,h}
}
build() {
- cd "$pkgname-$pkgver"
+ cd $pkgname-$pkgver
+ export CFLAGS+=' -w'
export PYTHON=/usr/bin/python
- ./configure --prefix=/usr --libexecdir=/usr/lib -enable-all
+ ./configure --prefix=/usr --libexecdir=/usr/lib
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
- make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
}
# getver: plugins.geany.org/downloads.html
More information about the arch-commits
mailing list