Date: Wednesday, May 7, 2014 @ 14:49:10 Author: seblu Revision: 110801
upgpkg: mailman 2.1.18.1-1 Modified: mailman/trunk/PKGBUILD ----------+ PKGBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-05-07 12:31:56 UTC (rev 110800) +++ PKGBUILD 2014-05-07 12:49:10 UTC (rev 110801) @@ -3,7 +3,8 @@ # Contributor: Paul Mattal <p...@archlinux.org> pkgname=mailman -pkgver=2.1.18 +_pkgver=2.1.18-1 +pkgver=${_pkgver//-/.} pkgrel=1 pkgdesc='The GNU Mailing List Manager' arch=(i686 x86_64) @@ -15,12 +16,12 @@ # 'Defaults.py' should not be changed by users; 'mm_cfg.py' should instead. backup=('usr/lib/mailman/Mailman/mm_cfg.py') install=$pkgname.install -source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tgz" +source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$_pkgver.tgz" 'mailman-2.1-build.patch' "$pkgname.profile.sh" "$pkgname.profile.csh" "$pkgname.service") -md5sums=('02ce493711248e1d3723356188446d9f' +md5sums=('dc861ed9698a98499a951eaef7d4db9f' 'ed04d062379eb21e39ce1e70e6b1ade2' 'a9c71ec940c56173415fbd49087d10b0' '85a8c30ffc444e677b286f54df530482' @@ -27,7 +28,7 @@ 'f3ea6ef02ab135274406ce52ea8bbb7b') build() { - cd $pkgname-$pkgver + cd $pkgname-$_pkgver # some files in mailman doesn't use configure parameter find . -type f -exec \ sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \; @@ -49,7 +50,7 @@ } package() { - cd $pkgname-$pkgver + cd $pkgname-$_pkgver make DESTDIR="$pkgdir" install # let's follow Fedora FHS way; Gentoo does it the other way round