Add some chicken packages

This commit is contained in:
Tom Willemse 2015-07-08 23:15:26 +02:00
parent 0e84aa2fe8
commit 457396320b
20 changed files with 612 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# Maintainer: Aaron P <aaronbpaden@gmail.com>
# Contributer: Jim Pryor <profjim@jimpryor.net>
pkgname=chicken-condition-utils
_pkgname=condition-utils
pkgver=1.1.1
pkgrel=1
pkgdesc="Chicken Scheme Egg: SRFI 12 Condition Utilities"
arch=('i686' 'x86_64')
url="http://chicken.wiki.br/eggref/4/condition-utils"
license=('BSD')
depends=('chicken>=4.5.0' 'chicken-setup-helper' 'chicken-check-errors>=1.12.0' )
build() {
cd "$srcdir/"
chicken-install -r "${_pkgname}":"${pkgver}"
}
package() {
cd "$_pkgname"
chicken-install -p "$pkgdir/usr"
}

55
chicken-dbus/PKGBUILD Normal file
View file

@ -0,0 +1,55 @@
# Maintainer: Jim Pryor <profjim@jimpryor.net>
# Warning: The chicken-* egg PKGBUILDS in AUR are auto-generated.
# Please report errors you notice so that I can tweak the generation script.
pkgname=chicken-dbus
pkgver=0.93
pkgrel=1
pkgdesc="Chicken Scheme Egg: A binding for libdbus, the IPC mechanism"
arch=('i686' 'x86_64')
url="http://chicken.wiki.br/eggref/4/dbus"
license=('MIT')
depends=('chicken>=4.5.0' 'chicken-easyffi' 'chicken-matchable' 'chicken-miscmacros' 'chicken-foreigners' 'dbus-core')
options=(docs !libtool !emptydirs)
install="chicken.install"
source=("$pkgname-$pkgver.chunked::http://chicken.kitten-technologies.co.uk/henrietta.cgi?name=dbus&version=$pkgver"
"$pkgname-$pkgver.html::http://wiki.call-cc.org/eggref/4/dbus.html"
"dbus.patch")
md5sums=('891f74b8231f0d655297444e140f5e4f'
'503a55be746bee8815a95f8ff07bef97'
'3abccbef575aa13ac1b3cbaefee12ff1')
build() {
# unchunk the blob that was downloaded from henrietta
cd "$srcdir"
mkdir -p "dbus-$pkgver"
cat "$pkgname-$pkgver.chunked" | while :; do
while read -r bar ver endbar fname len; do
[[ -n "$ver" ]] && break
done
[[ "$endbar" = "|#" ]] || fname="$ver" len="$endbar"
[[ -z "$fname" ]] && break
fname="${fname:1:${#fname}-2}" # delete quotes around fname
if [[ "${fname: -1}" == / ]]; then
mkdir -p "dbus-$pkgver/$fname"
elif [[ "$len" -eq 0 ]]; then
touch "dbus-$pkgver/$fname"
else
dd iflag=fullblock of="dbus-$pkgver/$fname" ibs="$len" count=1 2>/dev/null
fi
done
patch "dbus-${pkgver}/dbus.scm" dbus.patch
}
package () {
cd "$srcdir/dbus-$pkgver"
cp ../$pkgname-$pkgver.html dbus.html
mkdir -p "$pkgdir/usr/lib/chicken/5" "$pkgdir/usr/share/chicken/dbus"
chicken-install -p "$pkgdir/usr"
install -Dm644 "dbus.html" "$pkgdir/usr/share/doc/$pkgname/dbus.html"
}

View file

@ -0,0 +1,15 @@
## arg 1: the new package version
post_install() {
chicken-install -u
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
post_install
}
## arg 1: the old package version
post_remove() {
post_install
}

11
chicken-dbus/dbus.patch Normal file
View file

@ -0,0 +1,11 @@
--- dbus/dbus.scm 2015-07-08 22:17:28.746987420 +0200
+++ dbus-patched/dbus.scm 2015-05-31 20:24:57.469958384 +0200
@@ -275,7 +275,7 @@
(if (null? rem-keys)
subtree
(loop (cdr rem-keys)
- (let ([pr (assq (car rem-keys) subtree)])
+ (let ([pr (assq (car rem-keys) (or subtree '()))])
(and (pair? pr) (cdr pr))))))))
;; The "tree" version of asset!: drills down into an assq-tree

55
chicken-filepath/PKGBUILD Normal file
View file

@ -0,0 +1,55 @@
# Maintainer: Jim Pryor <profjim@jimpryor.net>
# Warning: The chicken-* egg PKGBUILDS in AUR are auto-generated.
# Please report errors you notice so that I can tweak the generation script.
pkgname=chicken-filepath
pkgver=1.5
pkgrel=1
pkgdesc="Chicken Scheme Egg: Cross-platform file path manipulation."
arch=('i686' 'x86_64')
url="http://chicken.wiki.br/eggref/4/filepath"
license=('BSD')
depends=('chicken>=4.5.0' 'chicken-matchable' )
options=(docs !libtool !emptydirs)
install="chicken.install"
source=("$pkgname-$pkgver.chunked::http://chicken.kitten-technologies.co.uk/henrietta.cgi?name=filepath&version=$pkgver"
"$pkgname-$pkgver.html::http://wiki.call-cc.org/eggref/4/filepath.html")
md5sums=('82313ef72f684b7de33722a369a0673c'
'861bc4f472062364cd75c127f7ba35da')
# template start; name=chicken-module; version=1;
_name=${pkgname#chicken-}
build() {
# unchunk the blob that was downloaded from henrietta
cd "$srcdir"
mkdir -p "${_name}-${pkgver}"
cat "${pkgname}-${pkgver}.chunked" | while :; do
while read -r bar ver endbar fname len; do
[[ -n "$ver" ]] && break
done
[[ "$endbar" = "|#" ]] || fname="$ver" len="$endbar"
[[ -z "$fname" ]] && break
fname="${fname:1:${#fname}-2}" # delete quotes around fname
if [[ "${fname: -1}" == / ]]; then
mkdir -p "${_name}-${pkgver}/${fname}"
elif [[ "$len" -eq 0 ]]; then
touch "${_name}-${pkgver}/${fname}"
else
dd iflag=fullblock of="${_name}-${pkgver}/${fname}" ibs="$len" count=1 2>/dev/null
fi
done
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
cp "../${pkgname}-${pkgver}.html" "${_name}.html"
mkdir -p "${pkgdir}/usr/lib/chicken/5" "${pkgdir}/usr/share/chicken/${_name}"
chicken-install -p "${pkgdir}/usr"
install -Dm644 "${_name}.html" "${pkgdir}/usr/share/doc/${pkgname}/${_name}.html"
}
# template end;

View file

@ -0,0 +1,15 @@
## arg 1: the new package version
post_install() {
chicken-install -u
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
post_install
}
## arg 1: the old package version
post_remove() {
post_install
}

View file

@ -0,0 +1,51 @@
# Maintainer: Jim Pryor <profjim@jimpryor.net>
# Warning: The chicken-* egg PKGBUILDS in AUR are auto-generated.
# Please report errors you notice so that I can tweak the generation script.
pkgname=chicken-foreigners
pkgver=1.4.1
pkgrel=1
pkgdesc="Chicken Scheme Egg: Foreign helper macros for Chicken 4"
arch=('i686' 'x86_64')
url="http://chicken.wiki.br/eggref/4/foreigners"
license=('BSD')
depends=('chicken>=4.5.0' 'chicken-matchable' )
options=(docs !libtool !emptydirs)
install="chicken.install"
source=("$pkgname-$pkgver.chunked::http://chicken.kitten-technologies.co.uk/henrietta.cgi?name=foreigners&version=$pkgver"
"$pkgname-$pkgver.html::http://wiki.call-cc.org/eggref/4/foreigners.html")
md5sums=('5e7027cadfdba6af5607ae7e6d966a81'
'4df43c333846583c39e63c47f594cad7')
build() {
# unchunk the blob that was downloaded from henrietta
cd "$srcdir"
mkdir -p "foreigners-$pkgver"
cat "$pkgname-$pkgver.chunked" | while :; do
while read -r bar ver endbar fname len; do
[[ -n "$ver" ]] && break
done
[[ "$endbar" = "|#" ]] || fname="$ver" len="$endbar"
[[ -z "$fname" ]] && break
fname="${fname:1:${#fname}-2}" # delete quotes around fname
if [[ "${fname: -1}" == / ]]; then
mkdir -p "foreigners-$pkgver/$fname"
elif [[ "$len" -eq 0 ]]; then
touch "foreigners-$pkgver/$fname"
else
dd iflag=fullblock of="foreigners-$pkgver/$fname" ibs="$len" count=1 2>/dev/null
fi
done
}
package() {
cd "$srcdir/foreigners-$pkgver"
cp ../$pkgname-$pkgver.html foreigners.html
mkdir -p "$pkgdir/usr/lib/chicken/5" "$pkgdir/usr/share/chicken/foreigners"
chicken-install -p "$pkgdir/usr"
install -Dm644 "foreigners.html" "$pkgdir/usr/share/doc/$pkgname/foreigners.html"
}

View file

@ -0,0 +1,15 @@
## arg 1: the new package version
post_install() {
chicken-install -u
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
post_install
}
## arg 1: the old package version
post_remove() {
post_install
}

View file

@ -0,0 +1,53 @@
# Maintainer: Tom Willemse <tom@ryuslash.org>
pkgname=chicken-imperative-command-line-a
pkgver=0.4
pkgrel=1
pkgdesc="Chicken Scheme Egg: A simple, imperative-style command-line parser."
arch=('x86_64')
url='http://wiki.call-cc.org/eggref/4/imperative-command-line-a'
license=('BSD')
depends=('chicken>=4.5.0' 'chicken-miscmacros')
options=(docs !libtool !emptydirs)
install="chicken.install"
source=("${pkgname}-${pkgver}.chunked::http://chicken.kitten-technologies.co.uk/henrietta.cgi?name=imperative-command-line-a&version=${pkgver}"
"${pkgname}-${pkgver}.html::http://wiki.call-cc.org/eggref/4/imperative-command-line-a.html")
md5sums=('7932a503dadd4e6bb56aa8398be6f53e'
'10bfa8ae3f7d23df8f600574d4475d83')
# template start; name=chicken-module; version=1;
_name=${pkgname#chicken-}
build() {
# unchunk the blob that was downloaded from henrietta
cd "$srcdir"
mkdir -p "${_name}-${pkgver}"
cat "${pkgname}-${pkgver}.chunked" | while :; do
while read -r bar ver endbar fname len; do
[[ -n "$ver" ]] && break
done
[[ "$endbar" = "|#" ]] || fname="$ver" len="$endbar"
[[ -z "$fname" ]] && break
fname="${fname:1:${#fname}-2}" # delete quotes around fname
if [[ "${fname: -1}" == / ]]; then
mkdir -p "${_name}-${pkgver}/${fname}"
elif [[ "$len" -eq 0 ]]; then
touch "${_name}-${pkgver}/${fname}"
else
dd iflag=fullblock of="${_name}-${pkgver}/${fname}" ibs="$len" count=1 2>/dev/null
fi
done
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
cp "../${pkgname}-${pkgver}.html" "${_name}.html"
mkdir -p "${pkgdir}/usr/lib/chicken/5" "${pkgdir}/usr/share/chicken/${_name}"
chicken-install -p "${pkgdir}/usr"
install -Dm644 "${_name}.html" "${pkgdir}/usr/share/doc/${pkgname}/${_name}.html"
}
# template end;

View file

@ -0,0 +1,15 @@
## arg 1: the new package version
post_install() {
chicken-install -u
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
post_install
}
## arg 1: the old package version
post_remove() {
post_install
}

View file

@ -0,0 +1,55 @@
# Maintainer: Jim Pryor <profjim@jimpryor.net>
# Warning: The chicken-* egg PKGBUILDS in AUR are auto-generated.
# Please report errors you notice so that I can tweak the generation script.
pkgname=chicken-list-utils
pkgver=1.1.1
pkgrel=1
pkgdesc="Chicken Scheme Egg: list-utils"
arch=('i686' 'x86_64')
url="http://chicken.wiki.br/eggref/4/list-utils"
license=('BSD')
depends=('chicken>=4.5.0' 'chicken-setup-helper' 'chicken-check-errors' )
options=(docs !libtool !emptydirs)
install="chicken.install"
source=("$pkgname-$pkgver.chunked::http://chicken.kitten-technologies.co.uk/henrietta.cgi?name=list-utils&version=$pkgver"
"$pkgname-$pkgver.html::http://wiki.call-cc.org/eggref/4/list-utils.html")
md5sums=('02d6563f2cdcd26b94d4245356c9358e'
'd4c0540020ed67295ec72890fbf2dabb')
# template start; name=chicken-module; version=1;
_name=${pkgname#chicken-}
build() {
# unchunk the blob that was downloaded from henrietta
cd "$srcdir"
mkdir -p "${_name}-${pkgver}"
cat "${pkgname}-${pkgver}.chunked" | while :; do
while read -r bar ver endbar fname len; do
[[ -n "$ver" ]] && break
done
[[ "$endbar" = "|#" ]] || fname="$ver" len="$endbar"
[[ -z "$fname" ]] && break
fname="${fname:1:${#fname}-2}" # delete quotes around fname
if [[ "${fname: -1}" == / ]]; then
mkdir -p "${_name}-${pkgver}/${fname}"
elif [[ "$len" -eq 0 ]]; then
touch "${_name}-${pkgver}/${fname}"
else
dd iflag=fullblock of="${_name}-${pkgver}/${fname}" ibs="$len" count=1 2>/dev/null
fi
done
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
cp "../${pkgname}-${pkgver}.html" "${_name}.html"
mkdir -p "${pkgdir}/usr/lib/chicken/5" "${pkgdir}/usr/share/chicken/${_name}"
chicken-install -p "${pkgdir}/usr"
install -Dm644 "${_name}.html" "${pkgdir}/usr/share/doc/${pkgname}/${_name}.html"
}
# template end;

View file

@ -0,0 +1,15 @@
## arg 1: the new package version
post_install() {
chicken-install -u
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
post_install
}
## arg 1: the old package version
post_remove() {
post_install
}

55
chicken-mailbox/PKGBUILD Normal file
View file

@ -0,0 +1,55 @@
# Maintainer: Jim Pryor <profjim@jimpryor.net>
# Warning: The chicken-* egg PKGBUILDS in AUR are auto-generated.
# Please report errors you notice so that I can tweak the generation script.
pkgname=chicken-mailbox
pkgver=2.1.5
pkgrel=1
pkgdesc="Chicken Scheme Egg: Thread-safe queues with timeout"
arch=('i686' 'x86_64')
url="http://chicken.wiki.br/eggref/4/mailbox"
license=('BSD')
depends=('chicken>=4.5.0' 'chicken-setup-helper' 'chicken-check-errors>=1.12.0' 'chicken-condition-utils>=1.0.0' )
options=(docs !libtool !emptydirs)
install="chicken.install"
source=("$pkgname-$pkgver.chunked::http://chicken.kitten-technologies.co.uk/henrietta.cgi?name=mailbox&version=$pkgver"
"$pkgname-$pkgver.html::http://wiki.call-cc.org/eggref/4/mailbox.html")
md5sums=('bf9d49709ed80243533ee32d7594b892'
'371a0f2ce408110fac5cc9086d1ba7f1')
# template start; name=chicken-module; version=1;
_name=${pkgname#chicken-}
build() {
# unchunk the blob that was downloaded from henrietta
cd "$srcdir"
mkdir -p "${_name}-${pkgver}"
cat "${pkgname}-${pkgver}.chunked" | while :; do
while read -r bar ver endbar fname len; do
[[ -n "$ver" ]] && break
done
[[ "$endbar" = "|#" ]] || fname="$ver" len="$endbar"
[[ -z "$fname" ]] && break
fname="${fname:1:${#fname}-2}" # delete quotes around fname
if [[ "${fname: -1}" == / ]]; then
mkdir -p "${_name}-${pkgver}/${fname}"
elif [[ "$len" -eq 0 ]]; then
touch "${_name}-${pkgver}/${fname}"
else
dd iflag=fullblock of="${_name}-${pkgver}/${fname}" ibs="$len" count=1 2>/dev/null
fi
done
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
cp "../${pkgname}-${pkgver}.html" "${_name}.html"
mkdir -p "${pkgdir}/usr/lib/chicken/5" "${pkgdir}/usr/share/chicken/${_name}"
chicken-install -p "${pkgdir}/usr"
install -Dm644 "${_name}.html" "${pkgdir}/usr/share/doc/${pkgname}/${_name}.html"
}
# template end;

View file

@ -0,0 +1,15 @@
## arg 1: the new package version
post_install() {
chicken-install -u
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
post_install
}
## arg 1: the old package version
post_remove() {
post_install
}

View file

@ -0,0 +1,23 @@
# Maintainer: Jim Pryor <profjim@jimpryor.net>
# Maintainer: perlawk
pkgname=chicken-setup-helper
_pkgname=setup-helper
pkgver=1.5.5
pkgrel=1
pkgdesc="Chicken Scheme Egg: Installation/Setup Shortcut Routines"
arch=('i686' 'x86_64')
url="http://chicken.wiki.br/eggref/4/setup-helper"
license=('BSD')
depends=('chicken>=4.5.0' )
options=(docs !libtool !emptydirs)
build() {
cd "$srcdir/"
chicken-install -r "$_pkgname"
}
package() {
cd "$_pkgname"
chicken-install -p "$pkgdir/usr"
}

21
chicken-xft/PKGBUILD Normal file
View file

@ -0,0 +1,21 @@
# Maintainer: Tom Willemse <tom@ryuslash.org>
pkgname=chicken-xft
_pkgname=xft
pkgver=0.1
pkgrel=1
pkgdesc="Chicken Egg: Bindings for xft"
depends=('chicken' 'chicken-foreigners' 'chicken-xtypes')
arch=('x86_64')
url='http://wiki.call-cc.org/eggref/4/xft'
license=('BSD')
build() {
cd "$srcdir"
chicken-install -r "${_pkgname}:${pkgver}"
}
package() {
cd "${srcdir}/${_pkgname}"
chicken-install -p "${pkgdir}/usr"
}

55
chicken-xlib/PKGBUILD Normal file
View file

@ -0,0 +1,55 @@
# Maintainer: Jim Pryor <profjim@jimpryor.net>
# Warning: The chicken-* egg PKGBUILDS in AUR are auto-generated.
# Please report errors you notice so that I can tweak the generation script.
pkgname=chicken-xlib
pkgver=1.2
pkgrel=4
pkgdesc="Chicken Scheme Egg: Xlib bindings"
arch=('i686' 'x86_64')
url="http://chicken.wiki.br/eggref/4/xlib"
license=('unknown')
depends=('chicken>=4.5.0' 'chicken-matchable' 'libx11')
options=(docs !libtool !emptydirs)
install="chicken.install"
source=("$pkgname-$pkgver.chunked::http://chicken.kitten-technologies.co.uk/henrietta.cgi?name=xlib&version=$pkgver"
"$pkgname-$pkgver.html::http://wiki.call-cc.org/eggref/4/xlib.html")
md5sums=('951268d1fa79c41046260f1a0f75aa1e'
'687f763efb2880565ab2eb8a4f9914aa')
# template start; name=chicken-module; version=1;
_name=${pkgname#chicken-}
build() {
# unchunk the blob that was downloaded from henrietta
cd "$srcdir"
mkdir -p "${_name}-${pkgver}"
cat "${pkgname}-${pkgver}.chunked" | while :; do
while read -r bar ver endbar fname len; do
[[ -n "$ver" ]] && break
done
[[ "$endbar" = "|#" ]] || fname="$ver" len="$endbar"
[[ -z "$fname" ]] && break
fname="${fname:1:${#fname}-2}" # delete quotes around fname
if [[ "${fname: -1}" == / ]]; then
mkdir -p "${_name}-${pkgver}/${fname}"
elif [[ "$len" -eq 0 ]]; then
touch "${_name}-${pkgver}/${fname}"
else
dd iflag=fullblock of="${_name}-${pkgver}/${fname}" ibs="$len" count=1 2>/dev/null
fi
done
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
cp "../${pkgname}-${pkgver}.html" "${_name}.html"
mkdir -p "${pkgdir}/usr/lib/chicken/5" "${pkgdir}/usr/share/chicken/${_name}"
chicken-install -p "${pkgdir}/usr"
install -Dm644 "${_name}.html" "${pkgdir}/usr/share/doc/${pkgname}/${_name}.html"
}
# template end;

View file

@ -0,0 +1,15 @@
## arg 1: the new package version
post_install() {
chicken-install -u
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
post_install
}
## arg 1: the old package version
post_remove() {
post_install
}

21
chicken-xtypes/PKGBUILD Normal file
View file

@ -0,0 +1,21 @@
# Maintainer: Tom Willemse <tom@ryuslash.org>
pkgname=chicken-xtypes
_pkgname=xtypes
pkgver=0.1a2
pkgrel=1
pkgdesc="Chicken Egg: Bindings for datatypes used by Xlib"
depends=('chicken' 'chicken-foreigners')
arch=('x86_64')
url='http://wiki.call-cc.org/eggref/4/xtypes'
license=('BSD')
build() {
cd "$srcdir"
chicken-install -r "${_pkgname}:${pkgver}"
}
package() {
cd "${srcdir}/${_pkgname}"
chicken-install -p "${pkgdir}/usr"
}

30
mowedline-git/PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# Maintainer: Tom Willemse <tom@ryuslash.org>
_gitname='mowedline'
pkgname=mowedline-git
pkgver=20150608
pkgrel=1
pkgdesc="an X status bar program"
depends=('chicken' 'chicken-coops' 'chicken-dbus>=0.92'
'chicken-filepath' 'chicken-imperative-command-line-a>=0.4'
'chicken-list-utils' 'chicken-mailbox' 'chicken-matchable'
'chicken-miscmacros' 'chicken-xft' 'chicken-xlib'
'chicken-xtypes')
conflicts=('mowedline')
provides=('mowedline')
arch=('x86_64')
url='http://retroj.net/mowedline'
license=('GPL3')
source=('git://github.com/retroj/mowedline.git')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_gitname}"
git log -1 --pretty=format:"%cd" --date=short | sed s/-//g
}
package() {
cd "${srcdir}/${_gitname}"
chicken-install -p "${pkgdir}/usr"
}