blob: 9938feb635118ae95d777f60bd11a63f0f2523f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
_base=inkscapeMadeEasy
pkgname=${_base,,}-git
pkgver=r80.c21dd9b
pkgrel=1
pkgdesc="Set of python modules that extends Aaron Spike's inkex.py module (git version)"
arch=(x86_64)
url="https://github.com/fsmMLK/${_base}"
license=(GPL3)
depends=(textext)
makedepends=(git)
source=(git+${url}.git#branch=master)
sha512sums=('SKIP')
provides=(${_base,,})
conflicts=(${_base,,})
pkgver() {
cd ${_base}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
cd ${_base}
install -d ${pkgdir}/usr/share/inkscape/extensions/${_base}
mv latest/* ${pkgdir}/usr/share/inkscape/extensions/${_base}
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|