aboutsummaryrefslogtreecommitdiffstats
path: root/shared-mime-info/PKGBUILD
blob: 6c49c86d4eb0dc8167e2fdce37b9901142c80eea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#Maintainer: purnomo hadi <dimension.breaker@dracos-linux.org>

pkgname=shared-mime-info
pkgver=1.10
pkgrel=1
pkgdesc="The Shared Mime Info package contains a MIME database. "
arch=(x86_64)
url="fredesktop.org"
license=('GPLv3+')
depends=('libxml2' 'glib' )
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("https://people.freedesktop.org/~hadess/$pkgname-$pkgver.tar.xz")
sha256sums=('c625a83b4838befc8cafcd54e3619946515d9e44d63d61c4adf7f5513ddfbebf')

build() {
         cd "$pkgname-$pkgver"	 

       ./configure --prefix=/usr  --libdir=/usr/lib  .. &&
        make
         
}

package() {
        cd "$pkgname-$pkgver"
        

	 make  DESTDIR="$pkgdir" install 
	
        if [ -d "$pkgdir/usr/share/man" ]; then
                rm -rf  $pkgdir/usr/share/man

	fi
        if [ -d "$pkgdir/usr/share/doc" ]; then
                rm -rf  $pkgdir/usr/share/doc

	fi

}