diff options
author | Ankit R Gadiya | 2017-12-08 14:47:15 +0530 |
---|---|---|
committer | Ankit R Gadiya | 2017-12-08 14:47:15 +0530 |
commit | afb35745e320adee0b8fe58e00abe887ff111f9a (patch) | |
tree | cd0702d3f6c07ac973c2b93dd846cf86c941da3b | |
download | aur-afb35745e320adee0b8fe58e00abe887ff111f9a.tar.gz |
Filed Added
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bfe77a506862 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ufo2otf-git + pkgdesc = Take UFO font sources and generate OTF’s and webfonts + pkgver = r9.9025ba2 + pkgrel = 1 + url = https://github.com/fonts/ufo2otf + arch = any + license = BSD 3-Clause + makedepends = git + makedepends = python-setuptools + depends = python2 + depends = fontforge + source = git+https://github.com/fonts/ufo2otf + md5sums = SKIP + +pkgname = ufo2otf-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..eed7b16e9b46 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer Ankit R Gadiya <git@argp.in> + +pkgname=ufo2otf-git +pkgver=r9.9025ba2 +pkgrel=1 +pkgdesc="Take UFO font sources and generate OTF’s and webfonts" +arch=('any') +url="https://github.com/fonts/ufo2otf" +depends=('python2' + 'fontforge') +makedepends=('git' + 'python-setuptools') +license=('BSD 3-Clause') +source=("git+https://github.com/fonts/${pkgname%-git}") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/${pkgname%-git}" + python2 setup.py -q install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/${pkgname}/LICENSE +} |