This repository has been archived on 2024-10-14. You can view files and clone it, but cannot push or open issues or pull requests.
mlmmj/PKGBUILD
fbt 5530b354ce Update from AUR
Signed-off-by: fbt <fbt@fleshless.org>
2017-11-23 02:47:15 +03:00

36 lines
1.1 KiB
Bash

# Maintainer: Marvin Gülker <quintus at quintilianus point eu>
# Contributor: Pierre Chapuis <catwell at archlinux dot us>
pkgname='mlmmj'
pkgver=1.3.0
pkgrel=1
pkgdesc='Simple and slim mailing-list manager inspired by ezmlm'
depends=('sh')
arch=('i686' 'x86_64')
url='http://mlmmj.org/'
license=('MIT')
source=("http://mlmmj.org/releases/$pkgname-$pkgver.tar.bz2")
sha256sums=('1c5d898143433147aa1b448fe041b2eecf6ab1601d451d426441a0a63008f242')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
install -D -m 0644 LICENSE $pkgdir/usr/share/licenses/mlmmj/LICENSE
install -D -m 0644 COPYING $pkgdir/usr/share/licenses/mlmmj/COPYING
install -D -m 0644 AUTHORS $pkgdir/usr/share/licenses/mlmmj/AUTHORS
install -D -m 0644 FAQ $pkgdir/usr/share/doc/mlmmj/FAQ
install -D -m 0644 TUNABLES $pkgdir/usr/share/doc/mlmmj/TUNABLES
install -D -m 0644 UPGRADE $pkgdir/usr/share/doc/mlmmj/UPGRADE
for f in `ls README*`; do
install -D -m 0644 $f $pkgdir/usr/share/doc/mlmmj/$f
done
}