From ce21d978fca8b2e94207aa02e9a3aa7c145d9104 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 14 Jan 2015 18:16:15 +0100 Subject: yalc-git: initial import --- .SRCINFO | 17 +++++++++++++++++ PKGBUILD | 28 ++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..fefe780 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 14:54:38 UTC 2015 +pkgbase = yalc-git + pkgdesc = Yet Another LolCat + pkgver = 0.0.1.rc1.r0.gb4d1c2d + pkgrel = 1 + url = https://github.com/yabok/yalc + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + makedepends = cmake + source = git+https://github.com/yabok/yalc + sha1sums = SKIP + +pkgname = yalc-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..20b23af --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +pkgname=yalc-git +pkgver=0.0.1.rc1.r0.gb4d1c2d +pkgrel=1 + +pkgdesc='Yet Another LolCat' +url='https://github.com/yabok/yalc' +arch=('i686' 'x86_64') +license=('GPL') + +makedepends=('git' 'cmake') + +source=('git+https://github.com/yabok/yalc') + +sha1sums=('SKIP') + +pkgver() { + cd yalc + git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd yalc + make +} + +package() { + install -Dm755 yalc/yalc "$pkgdir"/usr/bin/yalc +} -- cgit v1.2.3-70-g09d2