diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-23 22:16:06 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-23 22:21:14 -0500 |
commit | 185acca122fc5e7a7787d8ec97dc2ece9ef3cd08 (patch) | |
tree | 69a7902311ec0da3ea0959a541ae4df2876f8074 /user/gsettings-desktop-schemas/APKBUILD | |
parent | 308a3989be8bb6103f633332633a4a9cf810339a (diff) | |
download | packages-185acca122fc5e7a7787d8ec97dc2ece9ef3cd08.tar.gz packages-185acca122fc5e7a7787d8ec97dc2ece9ef3cd08.tar.bz2 packages-185acca122fc5e7a7787d8ec97dc2ece9ef3cd08.tar.xz packages-185acca122fc5e7a7787d8ec97dc2ece9ef3cd08.zip |
user/gsettings-desktop-schemas: pull in, bump to 3.28.0, fix
Also ensure -dev pulls in the package.
Diffstat (limited to 'user/gsettings-desktop-schemas/APKBUILD')
-rw-r--r-- | user/gsettings-desktop-schemas/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/user/gsettings-desktop-schemas/APKBUILD b/user/gsettings-desktop-schemas/APKBUILD new file mode 100644 index 000000000..1505088ee --- /dev/null +++ b/user/gsettings-desktop-schemas/APKBUILD @@ -0,0 +1,50 @@ +# Maintainer: +pkgname=gsettings-desktop-schemas +pkgver=3.28.0 +pkgrel=0 +pkgdesc="GSettings schemas shared by GNOME desktop components" +url="https://developer.gnome.org/gio/unstable/GSettings.html" +arch="noarch" +license="LGPL-2.0-or-later" +makedepends="glib-dev gobject-introspection-dev intltool" +subpackages="$pkgname-dev" +source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" + +prepare() { + default_prepare + cd "$builddir" + sed -i -r 's:"(/system):"/org/gnome\1:g' schemas/*.in +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-nls + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make install DESTDIR="$pkgdir" +} + +dev() { + default_dev + depends="$pkgname" + cd "$builddir" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/share/pkgconfig "$subpkgdir"/usr/lib +} + + +sha512sums="83728c1645303a92a44429fe26eca85e156d7cdf61687f758e3189df875d022d945686de52e5d3df1e69e8372b0432ed8916bdaa40bb3ba80cd8691a6e02232b gsettings-desktop-schemas-3.28.0.tar.xz" |