Skip to content
Snippets Groups Projects
Commit adc9d8e0 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

0.40.0-2: enable debug

parent 8d348634
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
pkgname=dconf
pkgver=0.40.0
pkgrel=1
pkgrel=2
pkgdesc="Configuration database system"
url="https://wiki.gnome.org/Projects/dconf"
arch=(x86_64)
......@@ -11,6 +11,7 @@ license=(LGPL)
depends=(glib2)
makedepends=(vala dbus git gtk-doc python meson bash-completion)
provides=(libdconf.so)
options=(debug)
install=dconf.install
_commit=4c0a26052efafae923eba42d14c5cb88da745de2 # tags/0.40.0^0
source=("git+https://gitlab.gnome.org/GNOME/dconf.git#commit=$_commit"
......@@ -20,16 +21,16 @@ sha256sums=('SKIP'
'8d02176ff001a13d15a7ac087edd2502725494668933fa2c6e6f9cb21ae24e6b')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
cd dconf
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
cd dconf
}
build() {
arch-meson $pkgname build -D gtk_doc=true
arch-meson dconf build -D gtk_doc=true
meson compile -C build
}
......@@ -38,7 +39,8 @@ check() {
}
package() {
DESTDIR="$pkgdir" meson install -C build
meson install -C build --destdir "$pkgdir"
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
install -Dt "$pkgdir/usr/share/libalpm/scripts" dconf-update
......@@ -47,4 +49,4 @@ package() {
install -Dm644 /dev/null "$pkgdir/etc/dconf/db/.placeholder"
}
# vim:set sw=2 et:
# vim:set sw=2 sts=-1 et:
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