diff options
author | Junker | 2024-01-03 09:14:44 +0700 |
---|---|---|
committer | Junker | 2024-01-03 09:14:44 +0700 |
commit | 79158e96b0855bf6241af7f2e1cb9a58d4a00893 (patch) | |
tree | dc8c24dcf70c1a3589342ce7e7e2abe91adb272b | |
parent | df1e9f2e5146de3b65afffd4888bab8f43893e71 (diff) | |
download | aur-chicken-dbus.tar.gz |
main commit
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 59 |
2 files changed, 16 insertions, 67 deletions
@@ -1,27 +1,13 @@ pkgbase = chicken-dbus - pkgdesc = Chicken Scheme Egg: A binding for libdbus, the IPC mechanism - pkgver = 0.93 + pkgdesc = A binding for libdbus, the IPC mechanism for Chicken Scheme + pkgver = 0.97 pkgrel = 1 - url = http://chicken.wiki.br/eggref/4/dbus - install = chicken.install - arch = i686 + url = http://wiki.call-cc.org/eggref/5/dbus arch = x86_64 license = MIT - depends = chicken>=4.5.0 - depends = chicken-easyffi - depends = chicken-matchable + depends = chicken depends = chicken-miscmacros + depends = chicken-srfi-18 depends = chicken-foreigners - depends = dbus-core - options = docs - options = !libtool - options = !emptydirs - source = chicken-dbus-0.93.chunked::http://chicken.kitten-technologies.co.uk/henrietta.cgi?name=dbus&version=0.93 - source = chicken-dbus-0.93.html::http://wiki.call-cc.org/eggref/4/dbus.html - source = dbus.patch - md5sums = 891f74b8231f0d655297444e140f5e4f - md5sums = 503a55be746bee8815a95f8ff07bef97 - md5sums = 3abccbef575aa13ac1b3cbaefee12ff1 pkgname = chicken-dbus - @@ -1,55 +1,18 @@ -# 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 +_name=dbus +pkgver=0.97 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" +pkgdesc='A binding for libdbus, the IPC mechanism for Chicken Scheme' +arch=('x86_64') 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' - '420b75becf5e6b078d5e477663832372' - '3abccbef575aa13ac1b3cbaefee12ff1') +depends=("chicken" "chicken-miscmacros" "chicken-srfi-18" "chicken-foreigners") +url='http://wiki.call-cc.org/eggref/5/dbus' 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 + CHICKEN_INSTALL_REPOSITORY=${srcdir} CHICKEN_INSTALL_PREFIX=${srcdir} chicken-install -no-install-dependencies $_name:$pkgver } - -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" +package() { + install -d ${pkgdir}/usr/lib/chicken/11 + find ${srcdir} -maxdepth 1 -type f -exec cp -t ${pkgdir}/usr/lib/chicken/11 {} + } + |