diff options
author | Batuhan Baserdem | 2020-04-22 13:54:20 -0400 |
---|---|---|
committer | Batuhan Baserdem | 2020-04-22 13:54:20 -0400 |
commit | 1cbd5e437b3d007da3f433b1e1ff6e28b606f5bc (patch) | |
tree | 14923b3111c6829aadf89ced80991edb564f5882 /PKGBUILD | |
download | aur-1cbd5e437b3d007da3f433b1e1ff6e28b606f5bc.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b41734cd28cd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Batuhan Baserdem <lastname dot firstname at gmail> +pkgname=maestral-qt +pkgver=1.0.0.dev4 +pkgrel=1 +pkgdesc='A Qt interface for the Maestral daemon' +arch=('any') +url="https://github.com/SamSchott/${pkgname}" +license=('MIT') +source=("${url}/archive/v${pkgver}.tar.gz") +makedepends=('python' 'python-setuptools') +depends=( + 'maestral' + 'python' + 'python-bugsnag' + 'python-click>=7.1.1' + 'python-markdown2' + 'python-packaging' + 'python-pyqt5>=5.9') +# maestral: AUR dependency (git-version maintained by me) +# python-bugsnag: AUR dependency (git-version maintained by me) +# python-markdown2: AUR dependency +optdepends=('gnome-shell-extension-appindicator: Gnome integration') + +build() { + cd "${srcdir}/${_name}" + python setup.py build +} + +package() { + # Change into the source git directory + cd "${srcdir}/${_name}" + # Run python setup function + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + # Install the licence + install -Dm644 "${srcdir}/${_name}/LICENSE.txt" \ + "${pkgdir}/usr/share/licenses/${_name}/LICENSE" +} +md5sums=('5416f536d33a2eaef8fd637bc1dbb0c5') |