summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Mikołajczak2018-07-07 15:24:53 +0200
committerMarcin Mikołajczak2018-07-07 15:24:53 +0200
commit97021cb5c34e3a26186e649008bb77aad0ba5e91 (patch)
tree899c37ad66608273b9a1165a9cdd0fbd12c8a2f6
downloadaur-97021cb5c34e3a26186e649008bb77aad0ba5e91.tar.gz
initial commit
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD37
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9c849983f26
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = arqiver-git
+ pkgdesc = Simple Qt archive manager based on libarchive…
+ pkgver = r38.9a4702c
+ pkgrel = 1
+ url = https://github.com/tsujan/Arqiver
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = qt5-tools
+ depends = libarchive
+ depends = gzip
+ depends = p7zip
+ depends = qt5-base
+ depends = qt5-x11extras
+ depends = qt5-svg
+ provides = arqiver=r38.9a4702c
+ conflicts = arqiver
+ source = git+https://github.com/tsujan/arqiver.git
+ sha256sums = SKIP
+
+pkgname = arqiver-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dfaf5effe34
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Marcin Mikołajczak <me@m4sk.in>
+
+_pkgname=arqiver
+pkgname=$_pkgname-git
+pkgver=r38.9a4702c
+pkgrel=1
+pkgdesc="Simple Qt archive manager based on libarchive…"
+arch=("i686" "x86_64")
+url="https://github.com/tsujan/Arqiver"
+license=("GPL3")
+depends=("libarchive" "gzip" "p7zip" "qt5-base" "qt5-x11extras" "qt5-svg")
+makedepends=("qt5-tools")
+provides=("$_pkgname=$pkgver")
+conflicts=("$_pkgname")
+source=("git+https://github.com/tsujan/$_pkgname.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+
+ qmake ../$_pkgname
+ make
+}
+
+package() {
+ cd build
+ make INSTALL_ROOT="$pkgdir" install
+}