diff options
author | Vinícius dos Santos Oliveira | 2015-06-14 02:05:56 -0300 |
---|---|---|
committer | Vinícius dos Santos Oliveira | 2015-06-14 02:05:56 -0300 |
commit | 140d0ae95d8cf6ce7f0a6965a7efa7d7778fa56c (patch) | |
tree | f45cbc8547ca42736a9c249595f03d0e1bf38519 | |
download | aur-depixelize-bzr.tar.gz |
Genesis commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3f3507a81033 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = depixelize-bzr + pkgdesc = The depixelize binary provided with libdepixelize + pkgver = 0.0.0 + pkgrel = 1 + url = https://launchpad.net/libdepixelize + arch = i686 + arch = x86_64 + license = GPL + license = LGPL + makedepends = bzr + makedepends = cmake + makedepends = boost + depends = lib2geom + depends = popt + depends = boost-libs + source = bzr+lp:libdepixelize + md5sums = SKIP + +pkgname = depixelize-bzr + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..14eee199dfa9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Vinícius dos Santos Oliveira <vini.ipsmaker@gmail.com> +pkgname=depixelize-bzr +pkgver=0.0.0 +pkgrel=1 +pkgdesc="The depixelize binary provided with libdepixelize" +arch=(i686 x86_64) +url="https://launchpad.net/libdepixelize" +license=('GPL' 'LGPL') +depends=('lib2geom' 'popt' 'boost-libs') +makedepends=('bzr' 'cmake' 'boost') +source=(bzr+lp:libdepixelize) +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/libdepixelize" + printf "r%s" "$(bzr revno)" +} + +build() { + cd "$srcdir/libdepixelize" + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "$srcdir/libdepixelize" + cd build + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: |