diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2017-12-10 11:07:42 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2017-12-10 11:07:42 +0800 |
commit | d1df4ca18d5a46792a6d616c8b14e8352ab69f8d (patch) | |
tree | 997b7c318b78e057b2b844f588b881d8098850ee | |
parent | 9df12c2b66408011721ddec3b9147b3feba84435 (diff) | |
download | AUR4-PKGBUILD-d1df4ca18d5a46792a6d616c8b14e8352ab69f8d.tar.gz AUR4-PKGBUILD-d1df4ca18d5a46792a6d616c8b14e8352ab69f8d.tar.zst AUR4-PKGBUILD-d1df4ca18d5a46792a6d616c8b14e8352ab69f8d.zip |
guile-bytestructures: 0.0+250+g7ed31b1 (initial commit)
It is pulled in by guile-git, guile bindings of libgit2.
-rw-r--r-- | guile-bytestructures/.SRCINFO | 17 | ||||
-rw-r--r-- | guile-bytestructures/PKGBUILD | 34 |
2 files changed, 51 insertions, 0 deletions
diff --git a/guile-bytestructures/.SRCINFO b/guile-bytestructures/.SRCINFO new file mode 100644 index 0000000..3beab9c --- /dev/null +++ b/guile-bytestructures/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Sun Dec 10 03:07:43 UTC 2017 +pkgbase = guile-bytestructures + pkgdesc = Structured access library to bytevector contents for Guile + pkgver = 0.0+250+g7ed31b1 + pkgrel = 1 + url = https://github.com/TaylanUB/scheme-bytestructures + arch = x86_64 + arch = i686 + license = GPL3 + makedepends = git + depends = guile + source = git+https://github.com/TaylanUB/scheme-bytestructures#commit=7ed31b1e93a4bf8960f1d4aedbea84f4f594af6d + sha256sums = SKIP + +pkgname = guile-bytestructures + diff --git a/guile-bytestructures/PKGBUILD b/guile-bytestructures/PKGBUILD new file mode 100644 index 0000000..9ee43a2 --- /dev/null +++ b/guile-bytestructures/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: lantw44 (at) gmail (dot) com + +pkgname=guile-bytestructures +_pkgname=scheme-bytestructures +pkgver=0.0+250+g7ed31b1 +pkgrel=1 +pkgdesc='Structured access library to bytevector contents for Guile' +arch=('x86_64' 'i686') +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)" +} + +build() { + cd ${srcdir}/${_pkgname} + autoreconf -fi + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${_pkgname} + make DESTDIR="${pkgdir}" install +} |