summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreyelash2016-12-01 13:15:34 +0100
committereyelash2016-12-01 13:15:34 +0100
commit96edd209fa6ea7a03828a3f0688d4a4a4884b0a5 (patch)
treeaa218ff8d432b9fb0d74f5434b9f6400a6f54695
downloadaur-96edd209fa6ea7a03828a3f0688d4a4a4884b0a5.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD35
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..34e66e6fe89
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = xi-gtk-git
+ pkgdesc = a GTK+ front-end for the Xi editor
+ pkgver = r38.85e0859
+ pkgrel = 1
+ url = https://github.com/eyelash/xi-gtk
+ arch = i686
+ arch = x86_64
+ license = Apache
+ makedepends = git
+ makedepends = vala
+ makedepends = meson
+ depends = xi-core-git
+ depends = gtk3
+ conflicts = xi-gtk
+ source = git+https://github.com/eyelash/xi-gtk.git
+ sha256sums = SKIP
+
+pkgname = xi-gtk-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d2c6fb6785d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: eyelash <eyelash@users.noreply.github.com>
+
+pkgname=xi-gtk-git
+pkgver=r38.85e0859
+pkgrel=1
+pkgdesc='a GTK+ front-end for the Xi editor'
+arch=('i686' 'x86_64')
+url='https://github.com/eyelash/xi-gtk'
+license=('Apache')
+depends=('xi-core-git' 'gtk3')
+makedepends=('git' 'vala' 'meson')
+conflicts=('xi-gtk')
+source=('git+https://github.com/eyelash/xi-gtk.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/xi-gtk"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "$srcdir/xi-gtk"
+ mkdir build
+}
+
+build() {
+ cd "$srcdir/xi-gtk/build"
+ meson --prefix /usr ..
+ ninja
+}
+
+package() {
+ cd "$srcdir/xi-gtk/build"
+ DESTDIR="$pkgdir" ninja install
+}