diff options
author | Sunny | 2015-06-29 13:38:16 -0500 |
---|---|---|
committer | Sunny | 2015-06-29 13:38:16 -0500 |
commit | 6fde427011134e3bd92b11470ee443e00ab698ed (patch) | |
tree | 73cd3f30c2e5b777c1aa91d8acb2b3cad5058a4d | |
download | aur-6fde427011134e3bd92b11470ee443e00ab698ed.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 49 |
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a78d4aa52837 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = gimp-plugin-beautify + pkgdesc = GIMP Beautify is a set of GIMP plug-ins for quickly and easily beautify photo + pkgver = 20121117 + pkgrel = 1 + epoch = 0 + url = https://github.com/hejiann/beautify + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = git + depends = gimp + +pkgname = gimp-plugin-beautify + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ce534e52fc35 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,49 @@ +# Contributor: Liu Yuyang <lhtlyy at googlemail dot com> +# Maintainer:Liu Yuyang <lhtlyy at googlemail dot com> + +pkgname=gimp-plugin-beautify +pkgver=20121117 +pkgrel=1 +epoch=0 +pkgdesc="GIMP Beautify is a set of GIMP plug-ins for quickly and easily beautify photo " +arch=('i686' 'x86_64') +url="https://github.com/hejiann/beautify" +license=('GPL3') +depends=('gimp') +makedepends=('git') + +_gitroot="git://github.com/hejiann/beautify.git" +_gitname="beautify" + +build() { + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d $_gitname ] ; then + cd $_gitname && git pull origin + msg "The local files are updated." + else + git clone $_gitroot $_gitname + fi + + msg "GIT checkout done or server timeout" + msg "Starting make..." + + rm -rf "$srcdir/$_gitname-build" + git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" + cd "$srcdir/$_gitname-build" + + # + # BUILD HERE + # + make +} + +package() { + cd "$srcdir/$_gitname-build" + install -Dm 755 "$srcdir/$_gitname-build/beautify" "$pkgdir/usr/lib/gimp/2.0/plug-ins/beautify" + install -Dm 755 "$srcdir/$_gitname-build/skin-whitening" "$pkgdir/usr/lib/gimp/2.0/plug-ins/skin-whitening" + install -Dm 755 "$srcdir/$_gitname-build/simple-border" "$pkgdir/usr/lib/gimp/2.0/plug-ins/simple-border" + install -Dm 755 "$srcdir/$_gitname-build/border" "$pkgdir/usr/lib/gimp/2.0/plug-ins/border" +} + |