diff options
author | Jason Ryan | 2015-07-18 20:15:38 +1200 |
---|---|---|
committer | Jason Ryan | 2015-07-18 20:15:38 +1200 |
commit | da9115c1084ada35142b3962c086251bf84dde9c (patch) | |
tree | 7cde39348caa33f97cd52f76f01c973c11eddae8 | |
download | aur-da9115c1084ada35142b3962c086251bf84dde9c.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 55 | ||||
-rw-r--r-- | muttprint_0.73-4.diff.gz | bin | 0 -> 16525 bytes |
3 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8a75a07ed5d6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = muttprint + pkgdesc = An app to print email from CLI mail clients, mutt in particular + pkgver = 0.73_4 + pkgrel = 1 + url = http://muttprint.sf.net + arch = i686 + arch = x86_64 + license = GPL + makedepends = imagemagick + depends = texlive-latexextra + depends = perl-timedate + depends = perl-file-which + depends = perl-text-iconv + depends = psutils + depends = dialog + optdepends = texlive-fontsextra: Adds the CMBright font + backup = etc/Muttprintrc + source = http://downloads.sf.net/muttprint/muttprint-0.73.tar.gz + source = muttprint_0.73-4.diff.gz + md5sums = 39b76058b838e3078df93236eda2c316 + md5sums = d5d2ba786cd4ff0a40b7fd2c53e11562 + +pkgname = muttprint + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..678c4e17bb94 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: jason ryan <jasonwryan@gmail.com> +# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> +# Contributor: Giorgio Lando <patroclo7@gmail.com> + +pkgname=muttprint +pkgver=0.73_4 +_mainver=0.73 +pkgrel=1 +arch=("i686" "x86_64") +pkgdesc="An app to print email from CLI mail clients, mutt in particular" +license=("GPL") +arch=("i686" "x86_64") +depends=('texlive-latexextra' 'perl-timedate' 'perl-file-which' 'perl-text-iconv' 'psutils' 'dialog') +optdepends=('texlive-fontsextra: Adds the CMBright font') +makedepends=('imagemagick') +url=(http://muttprint.sf.net) +backup=(etc/Muttprintrc) +source=(http://downloads.sf.net/$pkgname/$pkgname-$_mainver.tar.gz + muttprint_0.73-4.diff.gz) +md5sums=('39b76058b838e3078df93236eda2c316' + 'd5d2ba786cd4ff0a40b7fd2c53e11562') + +build() { + cd $srcdir/$pkgname-$_mainver + patch -p1 < ../muttprint_0.73-4.diff + + # convert images (and make pics/ build work) + cd pics && \ + convert -flop BabyTuX.eps BabyTuX.eps + for i in BabyTuX_color.eps BabyTuX.eps Debian_color.eps Debian.eps \ + Gentoo.eps Gentoo_color.eps ; do \ + convert $i $(basename $i .eps).png; \ + done && \ + convert penguin.eps penguin.jpg + cd .. + + aclocal + automake --add-missing --copy + autoconf + ./configure --prefix=/usr + make PREFIX=/usr +} + +package() { + cd $srcdir/$pkgname-$_mainver + make PREFIX=/usr DESTDIR=$pkgdir install + for i in README* CREDITS ChangeLog CHANGES AUTHORS ; do \ + install -m644 $i $pkgdir/usr/share/doc/muttprint/$i ; \ + done + + mkdir -p $pkgdir/etc + install -m644 sample-muttprintrc-en $pkgdir/etc/Muttprintrc +} + +# vim:set ts=2 sw=2 et: diff --git a/muttprint_0.73-4.diff.gz b/muttprint_0.73-4.diff.gz Binary files differnew file mode 100644 index 000000000000..c4f3cefe2238 --- /dev/null +++ b/muttprint_0.73-4.diff.gz |