# Contributor: Natanael Copa # Maintainer: Natanael Copa setglobal pkgname = 'dircproxy' setglobal pkgver = '1.2.0_rc' setglobal _status = $(pkgver/_rc/-BETA) setglobal _ver = $(_status//./_) setglobal pkgrel = '1' setglobal pkgdesc = '"IRC proxy server designed for people who use IRC from lots of different workstations or clients'" setglobal url = '"https://github.com/w8tvi/dircproxy'" setglobal arch = '"all'" setglobal license = '"GPL'" setglobal depends = ''"" setglobal makedepends = '"autoconf automake'" setglobal install = '' setglobal subpackages = ""$pkgname-doc"" setglobal source = ""$pkgname-$_ver.tar.gz::https://github.com/w8tvi/dircproxy/archive/RELEASE-$_ver.tar.gz fix-gcc4-issue.patch fix-segfault.patch fix-issue54-1.patch fix-issue54-2.patch "" setglobal _builddir = ""$srcdir/$pkgname-RELEASE-$_ver"" proc prepare { cd $_builddir for i in [$source] { match $i { with *.patch msg $i; patch -p1 -i "$srcdir"/$i || return 1 } } ./autogen.sh } proc build { cd $_builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install } setglobal md5sums = '"fbff23c43845e5a6c0bdc8d439186af3 dircproxy-1_2_0-BETA.tar.gz c407e3111510dc86347826d922d3d292 fix-gcc4-issue.patch 65adeaa67ccbbea5f98a6f8b2b0b32f0 fix-segfault.patch 2867659a46fb059cae0f261d058a8c23 fix-issue54-1.patch 30287d85baab9c1d98d970ee95640e24 fix-issue54-2.patch'" setglobal sha256sums = '"84ce1e2496868f55de3cabc2668e68689c2ff56468fff46546418a8795a60403 dircproxy-1_2_0-BETA.tar.gz 0a1273040bd203aaf7f40b86c4e8e893f06356aa8899b89c97c05769e60dddee fix-gcc4-issue.patch ca21b76c8356d821c82324aaaeff9e64e8ca6ba202f9755b1b2656de0af6d74f fix-segfault.patch fe6fac70a09de7afd8778d03b8357425a10a111daa154a2ddb99fd6a6f8f6a3b fix-issue54-1.patch 9491af798003dfd1f8c0e1e2bb97366880e046418d19eee3bf6e17bcc057224f fix-issue54-2.patch'" setglobal sha512sums = '"9a720823cba52b1e3670a2ef76578f952e07275d7455f7609eff7d88bcb89f8c3098e9d517266efd19f84b3adf3163a3359b4113e253bd5c5bdbb36597a333c8 dircproxy-1_2_0-BETA.tar.gz 182c1907317e669bb9f2f410c683a8ce4682ad29b3caa07548b7e126f66b85f3e1f8ad258d5a90b017f21b5e03be1aa2480c5919be25ae40b4debb6b8740e93e fix-gcc4-issue.patch 906556a5a64670bb25394a424be281f90018c255b0dccb21f0805724899977d4041482c584f1aeb022d6acf56d5c0ab65065123bb045a2e7eb56674026be7fb4 fix-segfault.patch 66624cc8be5c891ccd3591397608ccdbe5b8496928ab77220214ef02a10433fe7d6b67a4abbfb36b60dd8a198581814ec2485b88778c2f1c14089d0b0246c66e fix-issue54-1.patch 517b67297d51d4327aabb0054eb5bac1a15bf26a45091517d27998e861555e5320573f315ea4d2a719387d9a30482ebf3e58d731048f78a63ecba8b4c2664fe2 fix-issue54-2.patch'"