add pkgbuild for lightweight-ponies

Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2014-01-29 15:18:19 +01:00
parent 1d748f6da3
commit 8e4e9b10ab

View file

@ -0,0 +1,17 @@
pkgname=lightweight-ponies
pkgver=1
pkgrel=1
pkgdesc="Featurefree lightweight ponysay script"
url="https://github.com/erkin/ponysay/extras/lightweight-ponies"
license=('custom:GNUAllPermissive')
arch=('i686' 'x86_64')
depends=('sh' 'grep' 'sed' 'findutils' 'coreutils' 'ponysay')
_commit=1d748f6da31cc81d3c97ea511d5e2d93149d00c8
source=("https://github.com/erkin/ponysay/archive/${_commit}.tar.gz")
sha256sums=('b21704be21037172c74d0965be4d04c4d2d2328a0838880009e2c5e23ce482b4')
package() {
cd "${srcdir}/ponysay-${_commit}/extras/lightweight-ponies"
install -Dm755 -- lightweight-ponies "${pkgdir}/usr/bin/lightweight-ponies"
}