summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Zhang2019-11-02 17:50:00 +0800
committerBruce Zhang2019-11-02 17:50:00 +0800
commit24013caf551f7858601a55eacd81cfce20cadd4b (patch)
treecb3429a6849ec31e390c45393e4e67315ac8e1ea
downloadaur-24013caf551f7858601a55eacd81cfce20cadd4b.tar.gz
Initial upload: qt-scrcpy 1.0.3-1
update
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD26
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1a7f90ce6d3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = qt-scrcpy
+ pkgdesc = Android real-time screencast control tool
+ pkgver = 1.0.3
+ pkgrel = 1
+ url = https://github.com/barry-ran/QtScrcpy
+ arch = x86_64
+ license = Apache
+ depends = qt5-base
+ provides = qt-scrcpy
+ source = qt-scrcpy-1.0.3.src.tar.gz::https://github.com/barry-ran/QtScrcpy/archive/v1.0.3.tar.gz
+ sha256sums = 84c02a9402d7cbaf9626e625ccdde09de6f1d8bd6c02b66995650b312e537adc
+
+pkgname = qt-scrcpy
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b4b24e807d8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Bruce Zhang
+pkgname=qt-scrcpy
+_name=QtScrcpy
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Android real-time screencast control tool"
+arch=('x86_64')
+url="https://github.com/barry-ran/QtScrcpy"
+license=('Apache')
+depends=('qt5-base')
+provides=('qt-scrcpy')
+source=("$pkgname-$pkgver.src.tar.gz::https://github.com/barry-ran/$_name/archive/v$pkgver.tar.gz")
+sha256sums=('84c02a9402d7cbaf9626e625ccdde09de6f1d8bd6c02b66995650b312e537adc')
+
+build() {
+ cd "$srcdir/$_name-$pkgver"
+ mkdir build
+ cd build
+ qmake ../all.pro CONFIG+=qtquickcompiler
+ make
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgver/output/linux/release"
+ install -Dm755 QtScrcpy "$pkgdir/usr/bin/QtScrcpy"
+}