| 1 |
# Maintainer: ${MAINTAINER} <${MAINTAINER_EMAIL}> |
| 2 |
|
| 3 |
pkgname=${APPNAME_LOWER}-0install |
| 4 |
_pkgname=${PACKAGE} |
| 5 |
pkgver=${VERSION} |
| 6 |
pkgrel=1 |
| 7 |
pkgdesc="${SUMMARY}" |
| 8 |
arch=('any') |
| 9 |
url="${URL}" |
| 10 |
license=('GPL3') |
| 11 |
makedepends=('python2>=${PY_MINVERSION}' 'iptables-nft') |
| 12 |
depends=('python2>=${PY_MINVERSION}' 'wxpython>=${WX_MINVERSION}' 'blas' 'python2-numpy' 'sdl2_mixer' 'desktop-file-utils' 'hicolor-icon-theme' 'python2-psutil' 'xdg-utils' 'zeroinstall-injector') |
| 13 |
optdepends=('argyllcms: calibration & profiling support') |
| 14 |
conflicts=('dispcalgui' 'dispcalgui-0install' '${APPNAME_LOWER}') |
| 15 |
install=${pkgname}.install |
| 16 |
|
| 17 |
source=("${HTTPURL}download/${_pkgname}-${pkgver}.tar.gz") |
| 18 |
|
| 19 |
md5sums=('${MD5}') |
| 20 |
|
| 21 |
package() { |
| 22 |
cd "${srcdir}/${_pkgname}-${pkgver}" |
| 23 |
|
| 24 |
PYTHONPATH=. python2 util/0install_desktop.py "$pkgdir/usr/share" |
| 25 |
|
| 26 |
# Fix permissions - read for all, eXecute for directories and scripts |
| 27 |
chmod -R +rX "${pkgdir}" |
| 28 |
} |
| 29 |
|
| 30 |
# vim:set ts=2 sw=2 et: |