more work done on the python fork

This commit is contained in:
brent s
2016-11-13 16:09:16 -05:00
parent 2765fde112
commit abe865d803
17 changed files with 166 additions and 7 deletions

View File

@@ -0,0 +1,2 @@
# Maintainer: {{ maintname }}
validpgpkeys=({% for gpgkey in gpgkey %}'{{ gpgkey }}'{% endfor %})

View File

@@ -0,0 +1,2 @@
# Bug reports can be filed at https://bugs.square-r00t.net/index.php?project=3
# News updates for packages can be followed at https://devblog.square-r00t.net

View File

@@ -0,0 +1,13 @@
pkgname={{ pkg['name'] }}
pkgver={{ pkg['ver'] }}
pkgrel=1
pkgdesc="{{ pkg['desc'] }}"
arch=( 'i686' 'x86_64' )
url="{{ pkg['site'] }}"
license=({% for license in pkg['license'] %}'{{ license }}' {% endfor %}){% if pkg['deps'] is defined and pkg['deps']|length > 0 %}
depends=( {% for dep in pkg['deps'] %}'{{ dep }}' {% endfor %}){% endif %}{% if pkg['optdeps'] is defined and pkg['optdeps']|length > 0 %}
optdepends=( {% for dep in pkg['optdeps'] %}'{{ dep }}' {% endfor %}){% endif %}{% if pkg['makedeps'] is defined and pkg['makedeps']|length > 0 %}
makedepends=( {% for dep in pkg['makedeps'] %}'{{ dep }}' {% endfor %}){% endif %}
_pkgname={{ pkg['name'] }}{% if pkg['provides'] is defined and pkg['provides']|length > 0 %}
provides=( {% for pkg in pkg['provides'] %}'{{ pkg }}' {% endfor %}){% endif %}{% if pkg['conflicts'] is defined and pkg['conflicts']|length > 0 %}
conflicts=( {% for pkg in pkg['conflicts'] %}'pkg'{% endfor %}){% endif %}

View File

@@ -0,0 +1,7 @@
install=
changelog=
noextract=()
source=("{{ pkg['srcurl'] }}"
"{{ pkg['srcfile'].sig }}")
sha512sums=('{{ pkg['srchash'] }}'
'SKIP')

View File

@@ -0,0 +1,4 @@
build() {
cd "${srcdir}/${_pkgname}/src"
make prefix=${pkgdir}/usr
}

View File

@@ -0,0 +1,4 @@
package() {
install -D -m755 ${srcdir}/${_pkgname}/src/${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
install -D -m644 ${srcdir}/${_pkgname}/docs/README.html.en ${pkgdir}/usr/share/doc/${_pkgname}/README.html
}