summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKlaus Alexander Seistrup2024-06-08 10:51:42 +0200
committerKlaus Alexander Seistrup2024-06-08 10:51:42 +0200
commitf07a8bca5be9e9bf1ab9402e540e779da110541f (patch)
tree6e9a4edf1f4094656836a6384541f8830a064b0e /PKGBUILD
parent198edb452023642cfcf670d53e44c11163ba3955 (diff)
downloadaur-mlmmj.tar.gz
Include contributions in the doc directory
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b715fb33d4f8..5256f76ebf3e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,9 +8,13 @@
pkgname='mlmmj'
pkgver=1.4.6
_pkgver=1_4_6
-pkgrel=1
+pkgrel=2
pkgdesc='Simple and slim mailing list manager (MLM) inspired by ezmlm'
depends=('bash' 'glibc' 'smtp-server')
+optdepends=(
+ 'perl: for running some of the contributed scripts'
+ 'python: for running some of the contributed scripts'
+)
arch=('aarch64' 'armv7h' 'i686' 'x86_64')
#url='http://mlmmj.org/'
url='https://codeberg.org/mlmmj/mlmmj'
@@ -23,6 +27,7 @@ source=(
)
options=('lto')
changelog="$pkgname.changelog"
+install="$pkgname.install"
build() {
cd "$pkgname-$pkgver"
@@ -52,6 +57,8 @@ package() {
install -vDm0644 -t "$pkgdir/usr/share/doc/$pkgname" \
ChangeLog FAQ README.* TODO TUNABLES.md UPGRADE
+ cp -vfa contrib "$pkgdir/usr/share/doc/$pkgname/"
+
install -vDm0644 -t "$pkgdir/usr/share/licenses/$pkgname" \
AUTHORS COPYING LICENSE