summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2018-07-15 17:04:17 +0800
committerTing-Wei Lan <lantw44@gmail.com>2018-07-15 17:04:37 +0800
commitb2211fc7b6d1fd3343c483632a8d49456a1f3103 (patch)
tree777b4216cef3101cea4790633988969707d6b06b
parenteb03867384e5385a7298f8e618879b95a4f09744 (diff)
downloadAUR4-PKGBUILD-b2211fc7b6d1fd3343c483632a8d49456a1f3103.tar.gz
AUR4-PKGBUILD-b2211fc7b6d1fd3343c483632a8d49456a1f3103.tar.zst
AUR4-PKGBUILD-b2211fc7b6d1fd3343c483632a8d49456a1f3103.zip
guile-bytestructures: 0.0+250+g7ed31b1 -> 1.0.3
-rw-r--r--guile-bytestructures/.SRCINFO8
-rw-r--r--guile-bytestructures/PKGBUILD24
2 files changed, 13 insertions, 19 deletions
diff --git a/guile-bytestructures/.SRCINFO b/guile-bytestructures/.SRCINFO
index 3beab9c..8c51b3f 100644
--- a/guile-bytestructures/.SRCINFO
+++ b/guile-bytestructures/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Dec 10 03:07:43 UTC 2017
+# Sun Jul 15 08:25:32 UTC 2018
pkgbase = guile-bytestructures
pkgdesc = Structured access library to bytevector contents for Guile
- pkgver = 0.0+250+g7ed31b1
+ pkgver = 1.0.3
pkgrel = 1
url = https://github.com/TaylanUB/scheme-bytestructures
arch = x86_64
@@ -10,8 +10,8 @@ pkgbase = guile-bytestructures
license = GPL3
makedepends = git
depends = guile
- source = git+https://github.com/TaylanUB/scheme-bytestructures#commit=7ed31b1e93a4bf8960f1d4aedbea84f4f594af6d
- sha256sums = SKIP
+ source = https://github.com/TaylanUB/scheme-bytestructures/releases/download/v1.0.3/bytestructures-1.0.3.tar.gz
+ sha256sums = 28e4a0b36d745b34f5531af6efb9fa0a992c4c3cde64252692a698d11ed2c675
pkgname = guile-bytestructures
diff --git a/guile-bytestructures/PKGBUILD b/guile-bytestructures/PKGBUILD
index 7fd0988..42e7546 100644
--- a/guile-bytestructures/PKGBUILD
+++ b/guile-bytestructures/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: lantw44 (at) gmail (dot) com
pkgname=guile-bytestructures
-_pkgname=scheme-bytestructures
-pkgver=0.0+250+g7ed31b1
+_pkgname=bytestructures
+pkgver=1.0.3
pkgrel=1
pkgdesc='Structured access library to bytevector contents for Guile'
arch=('x86_64' 'i686')
@@ -10,25 +10,19 @@ url="https://github.com/TaylanUB/scheme-bytestructures"
license=('GPL3')
depends=('guile')
makedepends=('git')
-_commit=7ed31b1e93a4bf8960f1d4aedbea84f4f594af6d
-source=("git+https://github.com/TaylanUB/${_pkgname}#commit=${_commit}")
-sha256sums=('SKIP')
-
-pkgver() {
- cd "${srcdir}/${_pkgname}"
- printf "0.0+%s+g%s" \
- "$(git rev-list HEAD | wc -l)" \
- "$(git rev-list --max-count=1 HEAD | cut -c 1-7)"
-}
+source=("https://github.com/TaylanUB/scheme-${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('28e4a0b36d745b34f5531af6efb9fa0a992c4c3cde64252692a698d11ed2c675')
build() {
- cd "${srcdir}/${_pkgname}"
- autoreconf -fi
+ cd "${srcdir}/${_pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
- cd "${srcdir}/${_pkgname}"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
+ rm -r "${pkgdir}/usr/share/guile/site/2.2/bytestructures/body"
+ rm -r "${pkgdir}/usr/share/guile/site/2.2/bytestructures/r7"
+ rm "${pkgdir}/usr/share/guile/site/2.2/"run-tests.*.scm
}