summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo (XenGi) Band2018-12-03 14:29:43 +0100
committerRicardo (XenGi) Band2018-12-03 14:29:43 +0100
commitdf44e0e394aaa4773a2031aac1c506642620f088 (patch)
treeca48a6fe3f754ceae3114a7aa24709692cf3e56a
parent8c7747c45b8b39a74da592fc715ae8ec45d4a0b1 (diff)
downloadaur-df44e0e394aaa4773a2031aac1c506642620f088.tar.gz
version bump
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD26
2 files changed, 15 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 17970492561..6d1df90ef22 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = c-lolcat
pkgdesc = High-performance implementation of lolcat
- pkgver = r40.ceb4d66
- pkgrel = 2
+ pkgver = 1.0
+ pkgrel = 1
url = https://github.com/jaseg/lolcat
arch = i686
arch = x86_64
license = WTFPL
conflicts = lolcat
conflicts = pyhton-lolcat
- source = c-lolcat::git+https://github.com/jaseg/lolcat.git
- sha256sums = SKIP
+ source = https://github.com/jaseg/lolcat/archive/v1.0.tar.gz
+ sha256sums = 77ebfecde6afdf24447dd834507ea8bc550ee89b0e1211e7d3866a4824a6ee1d
pkgname = c-lolcat
diff --git a/PKGBUILD b/PKGBUILD
index ddcff0a5276..76fbd428f6b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: Ricardo (XenGi) Band <email@ricardo.band>
pkgname=c-lolcat
-pkgver=r40.ceb4d66
-pkgrel=2
+_pkgname=lolcat
+pkgver=1.0
+pkgrel=1
pkgdesc="High-performance implementation of lolcat"
arch=('i686' 'x86_64')
url="https://github.com/jaseg/lolcat"
@@ -10,16 +11,11 @@ license=('WTFPL')
depends=()
makedepends=()
conflicts=('lolcat' 'pyhton-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)"
-}
+source=("https://github.com/jaseg/lolcat/archive/v${pkgver}.tar.gz")
+sha256sums=('77ebfecde6afdf24447dd834507ea8bc550ee89b0e1211e7d3866a4824a6ee1d')
#prepare() {
-# cd "${srcdir}/${pkgname}"
+# cd "${srcdir}/${pkgname}-${pkgver}"
#git submodule update --init musl
#git submodule update --init memorymapping
#git submodule init
@@ -27,13 +23,13 @@ pkgver() {
#}
build() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
make
}
package() {
- cd "${srcdir}/${pkgname}"
- #mkdir -p "${pkgdir}/usr/bin"
- #make DESTDIR="${pkgdir}/usr/bin" install
- install --mode=755 -D -- lolcat ${pkgdir}/usr/bin/lolcat
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ mkdir -p "${pkgdir}/usr/bin"
+ make DESTDIR="${pkgdir}/usr/bin" install
+ #install --mode=755 -D -- lolcat ${pkgdir}/usr/bin/lolcat
}