Browse Source

[trunk] -> [extra] 'gtksourceview2-2.10.5-5' add

master
Dudemanguy 1 year ago
parent
commit
549b8d06d2
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 33
      gtksourceview2/trunk/PKGBUILD
  2. 33
      gtksourceview2/x86_64/extra/PKGBUILD

33
gtksourceview2/trunk/PKGBUILD

@ -0,0 +1,33 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gtksourceview2
pkgver=2.10.5
pkgrel=5
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
arch=('x86_64')
license=('GPL')
depends=('gtk2' 'libxml2')
makedepends=('intltool' 'pkg-config' 'python')
url="http://www.gnome.org"
source=(https://download.gnome.org/sources/gtksourceview/2.10/gtksourceview-${pkgver}.tar.bz2)
sha256sums=('c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e')
prepare() {
cd "${srcdir}/gtksourceview-${pkgver}"
sed -i 's#python#python2#' gtksourceview/language-specs/convert.py
}
build() {
cd "${srcdir}/gtksourceview-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd "${srcdir}/gtksourceview-${pkgver}"
make DESTDIR="${pkgdir}" install
}

33
gtksourceview2/x86_64/extra/PKGBUILD

@ -0,0 +1,33 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gtksourceview2
pkgver=2.10.5
pkgrel=5
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
arch=('x86_64')
license=('GPL')
depends=('gtk2' 'libxml2')
makedepends=('intltool' 'pkg-config' 'python')
url="http://www.gnome.org"
source=(https://download.gnome.org/sources/gtksourceview/2.10/gtksourceview-${pkgver}.tar.bz2)
sha256sums=('c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e')
prepare() {
cd "${srcdir}/gtksourceview-${pkgver}"
sed -i 's#python#python2#' gtksourceview/language-specs/convert.py
}
build() {
cd "${srcdir}/gtksourceview-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd "${srcdir}/gtksourceview-${pkgver}"
make DESTDIR="${pkgdir}" install
}
Loading…
Cancel
Save