summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFalk Alexander Seidl2017-11-20 14:54:41 +0100
committerFalk Alexander Seidl2017-11-20 14:54:41 +0100
commit77537e7955f95330c108df0b428587a1a1e204e1 (patch)
treeaddb56fa79bea81d2f47b87898ff5ccb11466e8e
downloadaur-77537e7955f95330c108df0b428587a1a1e204e1.tar.gz
First Upload
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD30
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..21b3dc71167
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = fractal-git
+ pkgdesc = Matrix.org gtk+ client
+ pkgver = r225.e693b8d
+ pkgrel = 1
+ url = https://gitlab.gnome.org/danigm/fractal
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = gtk3
+ makedepends = rust
+ makedepends = pkg-config
+ makedepends = git
+ depends = gtk3
+ source = git://github.com/danigm/fractal
+ md5sums = SKIP
+
+pkgname = fractal-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5f0e3cec204
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Falk Alexander Seidl <fa@terminal.run>
+
+pkgname=fractal-git
+_gitname=fractal
+pkgver=r225.e693b8d
+pkgrel=1
+pkgdesc="Matrix.org gtk+ client"
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="https://gitlab.gnome.org/danigm/fractal"
+depends=('gtk3')
+makedepends=('gtk3' 'rust' 'pkg-config' 'git')
+source=("git://github.com/danigm/fractal")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${_gitname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${_gitname}/"
+ ./configure --prefix=/usr/local
+ make
+}
+
+package() {
+ cd "${srcdir}/${_gitname}/"
+ make DESTDIR="$pkgdir" install
+}