summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-07-08 23:15:26 +0200
committerGravatar Tom Willemse2015-07-08 23:15:26 +0200
commit457396320bfab92219509e2a3765bc24c77eaaa3 (patch)
treef01c4d33db4d0e39fecddce47a3e95efdbf278be
parent0e84aa2fe8030c5a05a959e2f22694594149e8c4 (diff)
downloadpkgbuilds-master.tar.gz
pkgbuilds-master.zip
Add some chicken packagesHEADmaster
-rw-r--r--chicken-condition-utils/PKGBUILD22
-rw-r--r--chicken-dbus/PKGBUILD55
-rw-r--r--chicken-dbus/chicken.install15
-rw-r--r--chicken-dbus/dbus.patch11
-rw-r--r--chicken-filepath/PKGBUILD55
-rw-r--r--chicken-filepath/chicken.install15
-rw-r--r--chicken-foreigners/PKGBUILD51
-rw-r--r--chicken-foreigners/chicken.install15
-rw-r--r--chicken-imperative-command-line-a/PKGBUILD53
-rw-r--r--chicken-imperative-command-line-a/chicken.install15
-rw-r--r--chicken-list-utils/PKGBUILD55
-rw-r--r--chicken-list-utils/chicken.install15
-rw-r--r--chicken-mailbox/PKGBUILD55
-rw-r--r--chicken-mailbox/chicken.install15
-rw-r--r--chicken-setup-helper/PKGBUILD23
-rw-r--r--chicken-xft/PKGBUILD21
-rw-r--r--chicken-xlib/PKGBUILD55
-rw-r--r--chicken-xlib/chicken.install15
-rw-r--r--chicken-xtypes/PKGBUILD21
-rw-r--r--mowedline-git/PKGBUILD30
20 files changed, 612 insertions, 0 deletions
diff --git a/chicken-condition-utils/PKGBUILD b/chicken-condition-utils/PKGBUILD
new file mode 100644
index 0000000..48fc3b0
--- /dev/null
+++ b/chicken-condition-utils/PKGBUILD
@@ -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"
+}
diff --git a/chicken-dbus/PKGBUILD b/chicken-dbus/PKGBUILD
new file mode 100644
index 0000000..8bc4dfd
--- /dev/null
+++ b/chicken-dbus/PKGBUILD
@@ -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"
+}
diff --git a/chicken-dbus/chicken.install b/chicken-dbus/chicken.install
new file mode 100644
index 0000000..2022006
--- /dev/null
+++ b/chicken-dbus/chicken.install
@@ -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
+}
diff --git a/chicken-dbus/dbus.patch b/chicken-dbus/dbus.patch
new file mode 100644
index 0000000..e9441a3
--- /dev/null
+++ b/chicken-dbus/dbus.patch
@@ -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
diff --git a/chicken-filepath/PKGBUILD b/chicken-filepath/PKGBUILD
new file mode 100644
index 0000000..3c75446
--- /dev/null
+++ b/chicken-filepath/PKGBUILD
@@ -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;
diff --git a/chicken-filepath/chicken.install b/chicken-filepath/chicken.install
new file mode 100644
index 0000000..2022006
--- /dev/null
+++ b/chicken-filepath/chicken.install
@@ -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
+}
diff --git a/chicken-foreigners/PKGBUILD b/chicken-foreigners/PKGBUILD
new file mode 100644
index 0000000..f1781db
--- /dev/null
+++ b/chicken-foreigners/PKGBUILD
@@ -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"
+}
diff --git a/chicken-foreigners/chicken.install b/chicken-foreigners/chicken.install
new file mode 100644
index 0000000..2022006
--- /dev/null
+++ b/chicken-foreigners/chicken.install
@@ -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
+}
diff --git a/chicken-imperative-command-line-a/PKGBUILD b/chicken-imperative-command-line-a/PKGBUILD
new file mode 100644
index 0000000..ae13b8e
--- /dev/null
+++ b/chicken-imperative-command-line-a/PKGBUILD
@@ -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;
diff --git a/chicken-imperative-command-line-a/chicken.install b/chicken-imperative-command-line-a/chicken.install
new file mode 100644
index 0000000..2022006
--- /dev/null
+++ b/chicken-imperative-command-line-a/chicken.install
@@ -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
+}
diff --git a/chicken-list-utils/PKGBUILD b/chicken-list-utils/PKGBUILD
new file mode 100644
index 0000000..39083e6
--- /dev/null
+++ b/chicken-list-utils/PKGBUILD
@@ -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;
diff --git a/chicken-list-utils/chicken.install b/chicken-list-utils/chicken.install
new file mode 100644
index 0000000..2022006
--- /dev/null
+++ b/chicken-list-utils/chicken.install
@@ -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
+}
diff --git a/chicken-mailbox/PKGBUILD b/chicken-mailbox/PKGBUILD
new file mode 100644
index 0000000..09bb5cf
--- /dev/null
+++ b/chicken-mailbox/PKGBUILD
@@ -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;
diff --git a/chicken-mailbox/chicken.install b/chicken-mailbox/chicken.install
new file mode 100644
index 0000000..2022006
--- /dev/null
+++ b/chicken-mailbox/chicken.install
@@ -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
+}
diff --git a/chicken-setup-helper/PKGBUILD b/chicken-setup-helper/PKGBUILD
new file mode 100644
index 0000000..cccc291
--- /dev/null
+++ b/chicken-setup-helper/PKGBUILD
@@ -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"
+}
diff --git a/chicken-xft/PKGBUILD b/chicken-xft/PKGBUILD
new file mode 100644
index 0000000..12c72d0
--- /dev/null
+++ b/chicken-xft/PKGBUILD
@@ -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"
+}
diff --git a/chicken-xlib/PKGBUILD b/chicken-xlib/PKGBUILD
new file mode 100644
index 0000000..3dbfb68
--- /dev/null
+++ b/chicken-xlib/PKGBUILD
@@ -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;
diff --git a/chicken-xlib/chicken.install b/chicken-xlib/chicken.install
new file mode 100644
index 0000000..2022006
--- /dev/null
+++ b/chicken-xlib/chicken.install
@@ -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
+}
diff --git a/chicken-xtypes/PKGBUILD b/chicken-xtypes/PKGBUILD
new file mode 100644
index 0000000..707eb12
--- /dev/null
+++ b/chicken-xtypes/PKGBUILD
@@ -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"
+}
diff --git a/mowedline-git/PKGBUILD b/mowedline-git/PKGBUILD
new file mode 100644
index 0000000..bc35014
--- /dev/null
+++ b/mowedline-git/PKGBUILD
@@ -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"
+}