Skip to content
Snippets Groups Projects
Commit ca5bc022 authored by Maxime Gauduin's avatar Maxime Gauduin
Browse files

upgpkg: 0.30.0-1

parent dd9550b7
No related branches found
Tags 20171213
No related merge requests found
......@@ -3,42 +3,33 @@
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=lib32-dconf
pkgver=0.28.0
pkgver=0.30.0
pkgrel=1
pkgdesc='A low-level configuration system'
arch=('x86_64')
url='https://live.gnome.org/dconf'
license=('LGPL2.1')
depends=('dconf' 'lib32-glib2')
makedepends=('docbook-xsl' 'gcc-multilib' 'intltool' 'meson' 'python' 'vala')
source=("https://download.gnome.org/sources/dconf/${pkgver%.*}/dconf-${pkgver}.tar.xz")
sha256sums=('61d3b3865ef58b729c3b39aa0979f886c014aa8362f93dcfc74bf5648ed9c742')
prepare() {
if [[ -d build ]]; then
rm -rf build
fi
mkdir build
}
makedepends=(
'bash-completion' 'docbook-xsl' 'gcc-multilib' 'git' 'intltool' 'meson'
'python' 'vala'
)
source=("git+https://gitlab.gnome.org/GNOME/dconf.git#tag=${pkgver}")
sha256sums=('SKIP')
build() {
cd build
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
arch-meson ../dconf-${pkgver} \
arch-meson dconf build \
--libdir='/usr/lib32' \
--libexecdir='/usr/lib32/dconf' \
-Denable-man=false
ninja
ninja -C build
}
package() {
cd build
DESTDIR="${pkgdir}" ninja install
DESTDIR="${pkgdir}" ninja -C build install
rm -rf "${pkgdir}"/usr/{bin,include,share}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment