db-move: moved libdex from [staging] to [testing] (x86_64)
[arch-packages.git] / mailcap / trunk / PKGBUILD
blob39a46c75d087c64e535868e7146a1d8379609579
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=mailcap
4 pkgver=2.1.53
5 pkgrel=1
6 pkgdesc="Helper application and MIME type associations for file types"
7 url="https://pagure.io/mailcap"
8 arch=(any)
9 license=(MIT)
10 makedepends=(git)
11 checkdepends=(python)
12 provides=(mime-types)
13 conflicts=(mime-types)
14 replaces=(mime-types)
15 backup=(
16   etc/mailcap
17   etc/mime.types
18   etc/nginx/mime.types
20 _commit=4a12cc7caeb4a74626e8e6aedf38e7223b28e982  # tags/r2-1-53
21 source=("git+https://pagure.io/mailcap#commit=$_commit")
22 sha256sums=('SKIP')
24 pkgver() {
25   cd mailcap
26   git describe --tags | sed 's/^r//;s/-/./;s/-/./;s/-/+/g'
29 build() {
30   cd mailcap
31   make
34 check() {
35   cd mailcap
36   make check
39 package() {
40   cd mailcap
41   make DESTDIR="$pkgdir" install
42   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING