summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLara2019-05-11 17:45:55 +0200
committerLara2019-05-11 17:49:31 +0200
commitdb3ceb8fe4cc9cd41acaf64d8d213091b62e5552 (patch)
tree163b3643c4ab220008d8e6da91016ab79e52569a
downloadaur-db3ceb8fe4cc9cd41acaf64d8d213091b62e5552.tar.gz
Add initial Version 0.1.0_alpha2
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7916e9db5c8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = trebleshot
+ pkgdesc = A multi-platform file-sharing tool
+ pkgver = 0.1.0_alpha2
+ pkgrel = 1
+ url = https://github.com/genonbeta/TrebleShot-Desktop
+ arch = x86_64
+ license = GPL2
+ makedepends = cmake
+ depends = qt5-base
+ depends = kdnssd
+ optdepends = qt5-wayland: Wayland support
+ source = https://github.com/genonbeta/TrebleShot-Desktop/archive/0.1.0-alpha2.tar.gz
+ sha1sums = ad98267e0129279531222bf28a5a61c03db8afa1
+
+pkgname = trebleshot
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..663defd81b6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Lara <aur@lara.uber.space>
+pkgname=trebleshot
+_sourcename="TrebleShot-Desktop"
+pkgver=0.1.0_alpha2
+pkgrel=1
+pkgdesc="A multi-platform file-sharing tool"
+arch=(x86_64)
+url="https://github.com/genonbeta/$_sourcename"
+license=('GPL2')
+depends=('qt5-base' 'kdnssd')
+makedepends=('cmake')
+optdepends=('qt5-wayland: Wayland support')
+source=("https://github.com/genonbeta/$_sourcename/archive/${pkgver/_/-}.tar.gz")
+sha1sums=('ad98267e0129279531222bf28a5a61c03db8afa1')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../$_sourcename-${pkgver/_/-}
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir/" install
+}