Last active
August 29, 2015 14:02
-
-
Save palopezv/64d2185bb28be3552534 to your computer and use it in GitHub Desktop.
Updated PKGBUILD for nmh-git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: aksr <aksr at t-com dot me> | |
pkgname=nmh-git | |
pkgver=1.6+dev.r2482 | |
pkgrel=1 | |
pkgdesc="Powerful electronic mail handling system, based on a set of command-line utilities." | |
arch=('i686' 'x86_64') | |
url="http://www.nongnu.org/nmh/" | |
license=('BSD') | |
depends=('db' 'openssl' 'libsasl') | |
makedepends=('git') | |
provides=('nmh') | |
conflicts=('nmh') | |
backup=(etc/nmh/components | |
etc/nmh/digestcomps | |
etc/nmh/distcomps | |
etc/nmh/forwcomps | |
etc/nmh/MailAliases | |
etc/nmh/mhl.body | |
etc/nmh/mhl.digest | |
etc/nmh/mhl.format | |
etc/nmh/mhl.forward | |
etc/nmh/mhl.headers | |
etc/nmh/mhl.reply | |
etc/nmh/mhn.defaults | |
etc/nmh/mts.conf | |
etc/nmh/rcvdistcomps | |
etc/nmh/rcvdistcomps.outbox | |
etc/nmh/replcomps | |
etc/nmh/replgroupcomps | |
etc/nmh/scan.default | |
etc/nmh/scan.highlighted | |
etc/nmh/scan.mailx | |
etc/nmh/scan.MMDDYY | |
etc/nmh/scan.nomime | |
etc/nmh/scan.size | |
etc/nmh/scan.time | |
etc/nmh/scan.timely | |
etc/nmh/scan.unseen | |
etc/nmh/scan.YYYYMMDD) | |
source=('nmh-git::git://git.sv.gnu.org/nmh.git') | |
md5sums=('SKIP') | |
pkgver() { | |
cd "$srcdir/$pkgname" | |
printf "%s.r%s" "$(cat -s VERSION)" "$(git rev-list --count HEAD)" | |
} | |
prepare() { | |
cd "$srcdir/$pkgname" | |
./autogen.sh | |
} | |
build() { | |
cd "$srcdir/$pkgname" | |
./configure --prefix=/usr --sysconfdir=/etc/nmh --libdir=/usr/lib/nmh \ | |
--with-cyrus-sasl --with-tls | |
make | |
} | |
package() { | |
cd "$srcdir/$pkgname" | |
make DESTDIR="$pkgdir/" install | |
## | |
mkdir -p "$pkgdir/usr/share/licenses/$pkgname" | |
install -m644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | |
} | |
# vim:set ft=sh ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment