summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Band2016-11-23 13:14:17 +0100
committerRicardo Band2016-11-23 13:14:17 +0100
commita09ce468e9b3ce3dac4f561e459df11a029ed095 (patch)
tree7264fca5a7b1adccf080ab71defc4544a6b2153e
parentfc25b81d0b5e20739b539d9bce05d6c21941fa74 (diff)
downloadaur-a09ce468e9b3ce3dac4f561e459df11a029ed095.tar.gz
...
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD25
2 files changed, 16 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a04570b5cde..557c03780b1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
-# Generated by mksrcinfo v8
-# Tue Nov 22 14:57:49 UTC 2016
pkgbase = c-lolcat
pkgdesc = High-performance implementation of lolcat
pkgver = r34.8e95919
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/jaseg/lolcat
arch = i686
arch = x86_64
license = WTFPL
+ depends = musl
conflicts = lolcat
conflicts = pyhton-lolcat
source = c-lolcat::git+https://github.com/jaseg/lolcat.git
diff --git a/PKGBUILD b/PKGBUILD
index 531d3c45954..f3e7be8baec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,34 +2,37 @@
pkgname=c-lolcat
pkgver=r34.8e95919
-pkgrel=4
+pkgrel=5
pkgdesc="High-performance implementation of lolcat"
arch=('i686' 'x86_64')
url="https://github.com/jaseg/lolcat"
license=('WTFPL')
-depends=()
+depends=('musl')
makedepends=()
conflicts=('lolcat' 'pyhton-lolcat')
-source=("$pkgname"::'git+https://github.com/jaseg/lolcat.git')
+source=("${pkgname}"::'git+https://github.com/jaseg/lolcat.git')
sha256sums=('SKIP')
pkgver() {
- cd "$srcdir/$pkgname"
+ cd "${srcdir}/${pkgname}"
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git describe --always)"
}
-prepare() {
- cd "$srcdir/$pkgname"
- git submodule update --init musl
-}
+#prepare() {
+# cd "${srcdir}/${pkgname}"
+# #git submodule update --init musl
+# #git submodule update --init memorymapping
+# git submodule init
+# git submodule update
+#}
build() {
- cd "$srcdir/$pkgname"
+ cd "${srcdir}/${pkgname}"
make
}
package() {
- cd "$srcdir/$pkgname"
+ cd "${srcdir}/${pkgname}"
mkdir -p "${pkgdir}/usr/bin"
- make DESTDIR="$pkgdir/usr/bin" install
+ make DESTDIR="${pkgdir}/usr/bin" install
}