diff options
author | smac89 | 2022-07-24 20:31:48 -0600 |
---|---|---|
committer | smac89 | 2022-07-24 20:31:48 -0600 |
commit | 5dc64b4310fe6d6d60e4690358275f021fbaea81 (patch) | |
tree | 801b7f05298b9e446e7edf35cc3c9e02f6ea0fdc | |
download | aur-5dc64b4310fe6d6d60e4690358275f021fbaea81.tar.gz |
create autotrace-git
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..96175d02fbed --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = autotrace-git + pkgdesc = An utility to trace bitmaps: convert bitmaps to vector graphics, with patches from Sacha Chua + pkgver = 20200219.65.r0.g4333e37 + pkgrel = 2 + url = https://github.com/autotrace/autotrace.git + arch = i686 + arch = x86_64 + license = GPL + license = LGPL + makedepends = intltool + makedepends = git + makedepends = autoconf + makedepends = automake + depends = libpng + depends = pstoedit + depends = graphicsmagick + options = !libtool + source = autotrace::git+https://github.com/sachac/autotrace.git#branch=master + sha512sums = SKIP + +pkgname = autotrace-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..842f142ee98c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: FirstAirBender <noblechuk5 [at] web [dot] de> + +_pkgname=autotrace +pkgname="${_pkgname}-git" +pkgver=20200219.65.r0.g4333e37 +pkgrel=2 +pkgdesc='An utility to trace bitmaps: convert bitmaps to vector graphics, with patches from Sacha Chua' +arch=('i686' 'x86_64') +url='https://github.com/autotrace/autotrace.git' +license=('GPL' 'LGPL') +depends=('libpng' 'pstoedit' 'graphicsmagick') +makedepends=('intltool' 'git' 'autoconf' 'automake') +options=('!libtool') +source=("${_pkgname}::git+https://github.com/sachac/autotrace.git#branch=master") +sha512sums=('SKIP') + +pkgver() { + cd "$_pkgname" + git describe --long --tags | sed 's/^travis.//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$_pkgname" + autoreconf -ivf + intltoolize --force + aclocal + ./configure --prefix=/usr --with-pstoedit --with-magick=GraphicsMagick --with-png + make +} + +package() { + cd "$_pkgname" + make install DESTDIR="${pkgdir}" +} |