summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Lezaeta Reyes2015-05-26 04:05:54 -0300
committerPablo Lezaeta Reyes2015-05-26 04:05:54 -0300
commita8934f57669756db1a70986fb9b389f927a596fc (patch)
treea7a4288b842010255d6a09ee1670e57f4e4598fd
downloadaur-a8934f57669756db1a70986fb9b389f927a596fc.tar.gz
Add pony stuff 3
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
-rw-r--r--.SRCINFO21
-rwxr-xr-xPKGBUILD36
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8a1b1d03706
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = ponysay-git
+ pkgdesc = Cowsay reimplementation for ponies.
+ pkgver = 3.0.2.r2316
+ pkgrel = 1
+ url = https://github.com/erkin/ponysay
+ arch = any
+ license = GPL2
+ license = FDL
+ makedepends = git
+ makedepends = texinfo
+ depends = python3
+ depends = coreutils
+ optdepends = util-say: Improved TTY support utilising KMS and support for PNG files
+ provides = ponysay
+ conflicts = ponysay
+ conflicts = ponysay-git
+ source = ponysay::git+https://github.com/erkin/ponysay.git
+ md5sums = SKIP
+
+pkgname = ponysay-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..8326fceb2cc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Daniel Wallace <daniel.wallace at gatech dot edu> <- In AUR this have 4690 votes, but was a troll and now fixed
+# Maintainer: Pablo Lezaeta <prflr88 @ gmail . com> (Pony Provider)
+
+pkgname=ponysay-git
+_pkgname=ponysay
+pkgver=3.0.2.r2316
+pkgrel=1
+pkgdesc="Cowsay reimplementation for ponies."
+arch=("any")
+url="https://github.com/erkin/ponysay"
+license=("GPL2" "FDL")
+depends=("python3" "coreutils")
+provides=("ponysay")
+conflicts=("ponysay" "ponysay-git")
+optdepends=("util-say: Improved TTY support utilising KMS and support for PNG files")
+makedepends=("git" "texinfo")
+screenshot="http://i.imgur.com/xOJbE.png"
+source=("$_pkgname::git+https://github.com/erkin/ponysay.git")
+md5sums=("SKIP")
+
+pkgver(){
+ cd "${_pkgname}"
+ echo "$(git describe --always --abbrev=0 ).r$(git rev-list --count HEAD | sed 's/-/./g' )"
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ python3 ./setup.py --prefix=/usr \
+ --everything \
+ --with-pdf-manual=/usr/share/doc/"${_pkgname}" \
+ --without-pdf-manual-compression \
+ --dest-dir="${pkgdir}" \
+ --bin-dir=/usr/bin --freedom=partial install
+}
+
+# vim:set ts=2 sw=2 et: