mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-04 16:31:17 -05:00
add archlinux packaging script
This commit is contained in:
parent
ae957e56b5
commit
1931672afd
7
.gitignore
vendored
7
.gitignore
vendored
@ -7,3 +7,10 @@
|
||||
/QDarkStyle.egg-info/
|
||||
/build/
|
||||
__pycache__
|
||||
*.tar
|
||||
*.tar.*
|
||||
*.log
|
||||
*.log.*
|
||||
*.sig
|
||||
pkg/
|
||||
src/
|
||||
|
36
PKGBUILD
Normal file
36
PKGBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Submitter: Colin Duquesnoy <colin.duquesnoy@gmail.com>
|
||||
# Maintainer: Colin Duquesnoy <colin.duquesnoy@gmail.com>
|
||||
pkgbase=python-qdarkstyle
|
||||
pkgname=('python2-qdarkstyle' 'python-qdarkstyle')
|
||||
pkgver=1.11
|
||||
_pkgver=1.11
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url="https://github.com/davidhalter/qdarkstyle"
|
||||
license=('MIT')
|
||||
depends=('python2')
|
||||
makedepends=('python2-setuptools' 'python-setuptools')
|
||||
source=("https://pypi.python.org/packages/source/Q/QDarkStyle/QDarkStyle-${_pkgver}.tar.gz")
|
||||
md5sums=('cd5ec838d828d31c2fd3467103ac6862')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/QDarkStyle-${_pkgver}"
|
||||
}
|
||||
|
||||
package_python-qdarkstyle() {
|
||||
pkgdesc="A dark stylesheet for pyside/pyqt applications"
|
||||
depends=('python')
|
||||
cd "$srcdir/QDarkStyle-${_pkgver}"
|
||||
python3 setup.py install --root="$pkgdir/" --optimize=1
|
||||
|
||||
install -D -m644 "$srcdir/QDarkStyle-${_pkgver}/COPYING" $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
||||
package_python2-qdarkstyle() {
|
||||
pkgdesc="A dark stylesheet for pyside/pyqt applications"
|
||||
depends=('python2')
|
||||
cd "$srcdir/QDarkStyle-${_pkgver}"
|
||||
python2 setup.py install --root="$pkgdir/" --optimize=1
|
||||
|
||||
install -D -m644 "$srcdir/QDarkStyle-${_pkgver}/COPYING" $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
Loading…
Reference in New Issue
Block a user