[arch-commits] Commit in mailcap/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue May 4 20:47:14 UTC 2021


    Date: Tuesday, May 4, 2021 @ 20:47:14
  Author: heftig
Revision: 414384

2.1.53-1

Modified:
  mailcap/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-04 20:23:09 UTC (rev 414383)
+++ PKGBUILD	2021-05-04 20:47:14 UTC (rev 414384)
@@ -1,7 +1,7 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 
 pkgname=mailcap
-pkgver=2.1.49
+pkgver=2.1.53
 pkgrel=1
 pkgdesc="Helper application and MIME type associations for file types"
 url="https://pagure.io/mailcap"
@@ -12,10 +12,12 @@
 provides=(mime-types)
 conflicts=(mime-types)
 replaces=(mime-types)
-backup=(etc/mailcap
-        etc/mime.types
-        etc/nginx/mime.types)
-_commit=9c916595f1a1a4ae794fb67619c15fbc77905e31  # tags/r2-1-49^0
+backup=(
+  etc/mailcap
+  etc/mime.types
+  etc/nginx/mime.types
+)
+_commit=4a12cc7caeb4a74626e8e6aedf38e7223b28e982  # tags/r2-1-53
 source=("git+https://pagure.io/mailcap#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -24,6 +26,11 @@
   git describe --tags | sed 's/^r//;s/-/./;s/-/./;s/-/+/g'
 }
 
+build() {
+  cd mailcap
+  make
+}
+
 check() {
   cd mailcap
   make check
@@ -31,6 +38,6 @@
 
 package() {
   cd mailcap
-  make install DESTDIR="$pkgdir" sysconfdir=/etc mandir=/usr/share/man
+  make DESTDIR="$pkgdir" install
   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
 }



More information about the arch-commits mailing list