summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPhilip Goto2019-01-04 16:24:13 +0100
committerPhilip Goto2019-01-04 16:24:13 +0100
commit5bd47c890d7b28b7615da015bc3dd4e574dee931 (patch)
treef912f1ac3355414f5fc46cbabb74c2e5c3124697 /PKGBUILD
downloadaur-dconf-editor-git.tar.gz
Initialize package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cf7b2d9ada8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Philip Goto <philip.goto@gmail.com>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=dconf-editor-git
+pkgver=3.31.2.r107.gbe77980
+pkgrel=1
+pkgdesc="dconf Editor"
+arch=(x86_64)
+url="https://wiki.gnome.org/Projects/dconf"
+license=(GPL3)
+groups=(gnome-extra)
+depends=(gtk3 dconf)
+makedepends=(vala meson appstream-glib git)
+provides=(dconf-editor)
+conflicts=(dconf-editor)
+source=("git+https://gitlab.gnome.org/GNOME/dconf-editor.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd dconf-editor
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd dconf-editor
+}
+
+build() {
+ arch-meson dconf-editor build
+ ninja -C build
+}
+
+check() {
+ meson test -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+} \ No newline at end of file