diff options
author | FabioLolix | 2024-04-14 16:40:58 +0200 |
---|---|---|
committer | FabioLolix | 2024-04-14 16:40:58 +0200 |
commit | 2104cb2856c8c37eb98399c749001cb840b7b183 (patch) | |
tree | e96ead6932fe43ec3f16182cf6eb9653afc9a24d | |
parent | 3810b40598b7b82b0b5ee46e53eb360a65f6bda4 (diff) | |
download | aur-android-file-transfer-linux-git.tar.gz |
name harmonization process
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 71 |
2 files changed, 29 insertions, 60 deletions
@@ -1,22 +1,14 @@ pkgbase = android-file-transfer-linux-git pkgdesc = An interactive MTP client implemented in C++ using Qt toolkit - pkgver = continuous.r0.g14cdedc + pkgver = 4.2.r49.ga9495bf pkgrel = 1 url = https://github.com/whoozle/android-file-transfer-linux - arch = i686 arch = x86_64 + arch = i686 license = LGPL2.1 - makedepends = cmake makedepends = git - makedepends = ninja - makedepends = mesa - depends = qt5-base - depends = fuse - depends = hicolor-icon-theme - depends = taglib - conflicts = android-file-transfer - source = git+https://github.com/whoozle/android-file-transfer-linux.git#branch=master - md5sums = SKIP + depends = android-file-transfer-git + source = git+https://github.com/whoozle/android-file-transfer-linux.git + sha256sums = SKIP pkgname = android-file-transfer-linux-git - @@ -1,57 +1,34 @@ -# Maintainer: Askhat Bakarov <sirocco{at}ngs{dot}ru> +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix +# Contributor: Askhat Bakarov <sirocco{at}ngs{dot}ru> pkgname=android-file-transfer-linux-git -_pkgname="${pkgname/-git/}" -_gitbranch=master -_gitauthor=whoozle -pkgver=continuous.r0.g14cdedc +pkgver=4.2.r49.ga9495bf pkgrel=1 pkgdesc="An interactive MTP client implemented in C++ using Qt toolkit" -arch=('i686' 'x86_64') +arch=(x86_64 i686) url="https://github.com/whoozle/android-file-transfer-linux" license=(LGPL2.1) -depends=('qt5-base' 'fuse' 'hicolor-icon-theme' 'taglib') -makedepends=('cmake' 'git' 'ninja' 'mesa') -conflicts=('android-file-transfer') -source=("git+https://github.com/$_gitauthor/$_pkgname.git#branch=$_gitbranch") -md5sums=('SKIP') - +depends=(android-file-transfer-git) +makedepends=(git) +#depends=(qt5-base fuse2 hicolor-icon-theme taglib) +#makedepends=(cmake git qt5-tools ninja) +source=("git+https://github.com/whoozle/android-file-transfer-linux.git") +sha256sums=('SKIP') pkgver() { - cd "$_pkgname" - # git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' - git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' - -} - - - - -prepare() { - cd "$_pkgname" - mkdir -p build + cd "android-file-transfer-linux" + git describe --long --tags --exclude continuous | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } - - -build() { - cd "$_pkgname" - - cd build - - cmake -G Ninja .. \ - -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_EXE_LINKER_FLAGS=-Wl,-O1,--sort-common,-z,relro,-z,now - - ninja -} - -package() { - cd "$_pkgname"/build - - DESTDIR="$pkgdir" ninja install - - install -Dm644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - - - +#build() { +# cmake -B build -S "android-file-transfer-linux" -Wno-dev \ +# -G Ninja \ +# -DCMAKE_BUILD_TYPE=RelWithDebInfo \ +# -DCMAKE_INSTALL_PREFIX=/usr \ +# +# ninja -C build +#} + +#package() { +# DESTDIR="$pkgdir" ninja -C build install +#}
\ No newline at end of file |