diff options
author | Arsen Musayelyan | 2021-01-08 19:04:26 -0800 |
---|---|---|
committer | Arsen Musayelyan | 2021-01-08 19:04:26 -0800 |
commit | a432a37c6c683bdd9577cd968814c5799dbcbf13 (patch) | |
tree | 794f3d7d3882f457dbfe27a24af9b4e9c5ae6823 /PKGBUILD | |
parent | d43028884fe7eac664f43eabb3964f3965518aa8 (diff) | |
download | aur-a432a37c6c683bdd9577cd968814c5799dbcbf13.tar.gz |
Update to go version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 13 insertions, 10 deletions
@@ -1,23 +1,26 @@ # Maintainer: Arsen Musayelyan <moussaelianarsen@gmail.com> pkgname=opensend-git -pkgver=r38.003c27d +pkgver=r39.07e35af pkgrel=1 -pkgdesc="Send files and URLs securely across systems" +pkgdesc="Send files and securely across systems" arch=('any') -license=('GPLv2') -depends=('python' 'python-pip' 'python-pynacl' 'python-zeroconf' 'python-pyftpdlib' 'python-pyqt5' 'avahi') -source=('git+https://gitlab.com/moussaelianarsen/opensend.git') +license=('Apache-2.0') +makedepends=('go') +source=('git+https://gitea.arsenm.dev/opensend/opensend.git') md5sums=('SKIP') +backup=('etc/opensend.toml') pkgver() { - cd "$srcdir/opensend" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "$srcdir/opensend" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +build() { + cd "$srcdir/opensend" + make +} package() { cd "$srcdir/opensend" - DESTDIR="$pkgdir/" SUPRESSPIP=true python3 install.py - # Install PyAESCrypt using pip as it is not available in repos or AUR - python3 -m pip install pyAesCrypt + make DESTDIR="$pkgdir" install } |