diff options
author | Skykey | 2020-10-07 12:36:20 +0800 |
---|---|---|
committer | Skykey | 2020-10-07 12:36:20 +0800 |
commit | 9003831bbf76b23f0ea7e34620ee664f18818c96 (patch) | |
tree | ced9fd5e86c942125b0634d738d74790ac59a0df | |
parent | f7b75b89f4e1a205c5e781c9ad3629bdffa2e35a (diff) | |
download | aur-9003831bbf76b23f0ea7e34620ee664f18818c96.tar.gz |
update
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | qtscrcpy-git.install | 15 |
3 files changed, 26 insertions, 5 deletions
@@ -1,8 +1,9 @@ pkgbase = qtscrcpy-git pkgdesc = Android real-time display control software. - pkgver = 1.4.3.4.g92ec6c6 + pkgver = 1.4.3.r4.g92ec6c6 pkgrel = 1 url = https://github.com/barry-ran/QtScrcpy + install = qtscrcpy-git.install arch = x86_64 license = Apache makedepends = git @@ -12,11 +13,13 @@ pkgbase = qtscrcpy-git provides = qt-scrcpy conflicts = qt-scrcpy source = git+https://github.com/barry-ran/QtScrcpy + source = qtscrcpy-git.install source = QtScrcpy.desktop source = binaries.patch md5sums = SKIP md5sums = SKIP - md5sums = 049c0e95b49a4437c9cda0c19b7295f2 + md5sums = SKIP + md5sums = SKIP pkgname = qtscrcpy-git @@ -1,7 +1,7 @@ #Maintainer: Skykey <zcxzxlc@163.com> pkgname=('qtscrcpy-git') -pkgver=1.4.3.4.g92ec6c6 +pkgver=1.4.3.r4.g92ec6c6 pkgrel=1 pkgdesc="Android real-time display control software." provides=("qt-scrcpy") @@ -11,13 +11,16 @@ arch=('x86_64') makedepends=('git') depends=('qt5-base' 'android-tools' 'qt5-x11extras') license=('Apache') +install=qtscrcpy-git.install source=("git+https://github.com/barry-ran/QtScrcpy" +qtscrcpy-git.install QtScrcpy.desktop binaries.patch ) md5sums=(SKIP SKIP -'049c0e95b49a4437c9cda0c19b7295f2' +SKIP +SKIP ) prepare(){ @@ -27,7 +30,7 @@ prepare(){ pkgver(){ cd "$srcdir"/QtScrcpy - git describe --tag | sed 's|-|.|g' | sed 's/^v//' + git describe --long --tag | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build(){ diff --git a/qtscrcpy-git.install b/qtscrcpy-git.install new file mode 100644 index 000000000000..b317dcf18a02 --- /dev/null +++ b/qtscrcpy-git.install @@ -0,0 +1,15 @@ +note() { + printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n" +} + +all_off="$(tput sgr0)" +bold="${all_off}$(tput bold)" +blue="${bold}$(tput setaf 4)" +yellow="${bold}$(tput setaf 3)" +post_install() { + # Echo + note "======" + note "You can customize config.ini and keymaps in /usr/share/qtscrcpy/config and /usr/share/qtscrcpy/keymap" + note "You can find information in https://github.com/barry-ran/QtScrcpy" + note "======" +} |