diff options
Diffstat (limited to 'testing/gtksourceview4/APKBUILD')
-rw-r--r-- | testing/gtksourceview4/APKBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/gtksourceview4/APKBUILD b/testing/gtksourceview4/APKBUILD index 11384bca33..0ab9c95fbb 100644 --- a/testing/gtksourceview4/APKBUILD +++ b/testing/gtksourceview4/APKBUILD @@ -9,14 +9,13 @@ license="GPL-2.0-or-later" replaces="gtksourceview" depends_dev="gtk+3.0-dev libxml2-dev" makedepends="$depends_dev gobject-introspection-dev vala libxslt" +checkdepends="xvfb-run" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz" -options="!check" # testsuite requires graphical interface builddir="$srcdir/gtksourceview-$pkgver" build() { - cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -25,8 +24,11 @@ build() { make } +check() { + xvfb-run make check +} + package() { - cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="f2350b1e7042309c01be0feda6059d788a7ef55c4ccd48e16b4c92a71292ed6f92243455ca42aa0950db61de8d68f4a76f4fac46cd46316b690bcef1ea34c641 gtksourceview-4.2.0.tar.xz" |