Add Arch linux PKGBUILD
This commit is contained in:
parent
74b9fedbf1
commit
33ee440107
1 changed files with 30 additions and 0 deletions
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Ricardo (XenGi) Band <email@ricardo.band>
|
||||
|
||||
pkgname=c-lolcat
|
||||
pkgver=r26.502d379
|
||||
pkgrel=1
|
||||
pkgdesc="High-performance implementation of lolcat"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/jaseg/lolcat"
|
||||
license=('WTFPL')
|
||||
depends=()
|
||||
makedepends=()
|
||||
conflicts=('lolcat' 'python-lolcat')
|
||||
source=("$pkgname"::'git+https://github.com/jaseg/lolcat.git')
|
||||
sha256sums=(SKIP)
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$pkgname"
|
||||
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git describe --always)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname"
|
||||
mkdir -p "${pkgdir}/usr/bin"
|
||||
make DESTDIR="$pkgdir/usr/bin" install
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue