summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glib2-static/PKGBUILD39
1 files changed, 0 insertions, 39 deletions
diff --git a/glib2-static/PKGBUILD b/glib2-static/PKGBUILD
deleted file mode 100644
index e3b7eac42..000000000
--- a/glib2-static/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-# Contributor: nightuser <nightuser.android@gmail.com>
-
-pkgname=glib2-static
-pkgver=2.70.0
-pkgrel=1
-pkgdesc="Low level core library: Static library"
-url="https://wiki.gnome.org/Projects/GLib"
-license=(LGPL2.1)
-arch=(x86_64)
-depends=()
-makedepends=(gettext zlib libffi shared-mime-info python libelf git util-linux meson dbus)
-checkdepends=(desktop-file-utils)
-options=('!docs' '!libtool' '!emptydirs' '!strip' 'staticlibs')
-source=("http://ftp.gnome.org/pub/gnome/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz")
-sha512sums=('fd3fcaebd34aebe0e63f9dc915b2df026a3f88a5c2254e9f17beea0a59ab0ac563976fca54eb57bd2f7af183c4ae76fb86f05951216bf4159d258b5e7b29696f')
-
-build() {
- CFLAGS+=' -Wno-unused-result'
- arch-meson "glib-$pkgver" _build \
- --default-library static \
- --buildtype release \
- -Dselinux=disabled \
- -Dman=false \
- -Dgtk_doc=false \
- -Dinternal_pcre=false
- ninja -C _build
-}
-
-check() {
- meson test -C _build --no-suite flaky --timeout-multiplier 2 --print-errorlogs
-}
-
-package() {
- DESTDIR="$pkgdir" meson install -C _build
-
- # Only install static library
- rm -rf "$pkgdir"/usr/{bin,include,share,lib/glib-2.0,lib/pkgconfig}
-}