mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-02 02:52:46 +02:00
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gtksourceview
|
|
pkgver=3.18.1
|
|
pkgrel=0
|
|
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
|
|
url="http://live.gnome.org/GtkSourceView"
|
|
arch="all"
|
|
license="GPL"
|
|
replaces="gtksourceview"
|
|
depends=
|
|
depends_dev="gtk+3.0-dev libxml2-dev"
|
|
makedepends="$depends_dev gobject-introspection-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
source="http://ftp.gnome.org/pub/gnome/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz"
|
|
|
|
_builddir="$srcdir/gtksourceview-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
md5sums="b7600b6cc06ec96ce1d028bf7a44d14b gtksourceview-3.18.1.tar.xz"
|
|
sha256sums="7be95faf068b9f0ac7540cc1e8d607baa98a482850ef11a6471b53c9327aede6 gtksourceview-3.18.1.tar.xz"
|
|
sha512sums="dacee02c1d7232279b560bfa362c65837a981d50fdc28ae966835ead7b0d99310d503b816895c77c5b61967778299e4c9385697de5210259a97f664703bc905f gtksourceview-3.18.1.tar.xz"
|