diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 32 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a367a0103798 --- /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 000000000000..72e8ffc0db8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..818430a2b06d --- /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" +} |