summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Noyce Barnham2020-10-20 22:57:19 +0100
committerJoel Noyce Barnham2020-10-20 22:57:19 +0100
commit0bd5b006e7100d33cd3e00fd52580d3cf3710d06 (patch)
treee2b424fe4aa7ea381021af67f18f847b075f5c14
downloadaur-0bd5b006e7100d33cd3e00fd52580d3cf3710d06.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore5
-rwxr-xr-xPKGBUILD39
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..28dc89355ca
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = flux-git
+ pkgdesc = flux is an interface description language used by DirectFB
+ pkgver = 1.4.4.r0.e45758a
+ pkgrel = 1
+ url = https://github.com/deniskropp/flux
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = gcc-libs
+ provides = flux
+ conflicts = flux
+ source = flux::git+https://github.com/deniskropp/flux.git#branch=master
+ md5sums = SKIP
+
+pkgname = flux-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..022fe68305a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.tar.xz
+
+flux/
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..c32f2884626
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Joel Noyce Barnham <joelnbarnham@gmail.com>
+pkgname=flux-git
+pkgver=1.4.4.r0.e45758a
+pkgrel=1
+pkgdesc="flux is an interface description language used by DirectFB"
+arch=('x86_64')
+url="https://github.com/deniskropp/flux"
+license=('GPL3')
+groups=()
+depends=('gcc-libs')
+makedepends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+replaces=()
+backup=()
+options=()
+install=
+_branch="distrotech-flux"
+source=("flux::git+${url}.git#branch=master")
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/flux"
+ printf "%s" "$(awk -F= '/^FLUXCOMP_(MAJOR|MINOR|MICRO)_VERSION/ { printf "%s.", $2; }' configure.in | sed 's/.$//').r0.$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/flux"
+ autoreconf -fi
+ ./configure
+ make
+}
+
+package() {
+ cd "${srcdir}/flux"
+ install -D -m 0755 src/fluxcomp "${pkgdir}/usr/bin/fluxcomp"
+ install -D -m 0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}