summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkycoder422017-03-26 14:45:12 +0200
committerSkycoder422017-03-26 14:45:12 +0200
commit9a2a6305b210e8b609fc3a391fcf3a4cbbbd865d (patch)
tree6bdb4bd403bf9f89dcfd94048d692e167e179e12
downloadaur-9a2a6305b210e8b609fc3a391fcf3a4cbbbd865d.tar.gz
created package
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD32
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a367a010379
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = qt5-datasync
+ pkgdesc = A simple offline-first synchronisation framework, to synchronize data of Qt applications between devices
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://github.com/Skycoder42/QtDataSync
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ depends = qt5-base
+ depends = qt5-tools
+ depends = qt5-jsonserializer
+ depends = qt5-backgroundprocess
+ source = qt5-datasync-1.0.0::git+https://github.com/Skycoder42/QtDataSync.git#tag=1.0.0
+ md5sums = SKIP
+
+pkgname = qt5-datasync
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..72e8ffc0db8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..818430a2b06
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Felix Barz <skycoder42.de@gmx.de>
+pkgname=qt5-datasync
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A simple offline-first synchronisation framework, to synchronize data of Qt applications between devices"
+arch=('i686' 'x86_64')
+url="https://github.com/Skycoder42/QtDataSync"
+license=('BSD')
+depends=('qt5-base' 'qt5-tools' 'qt5-jsonserializer' 'qt5-backgroundprocess')
+makedepends=('git')
+source=("$pkgname-$pkgver::git+https://github.com/Skycoder42/QtDataSync.git#tag=$pkgver")
+md5sums=('SKIP')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ qmake
+ make qmake_all
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make INSTALL_ROOT="$pkgdir" install
+
+ FILE=$pkgdir/usr/lib/libQt5DataSync.prl
+ tail -n +2 "$FILE" > "$FILE.tmp"
+ mv "$FILE.tmp" "$FILE"
+
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}