summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 15d87e27f02a0397c0684bcfd84695f97e90fdd9 (plain)
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
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=mm-common-git
pkgver=0.9.10
pkgrel=1
pkgdesc="The build infrastructure and utilities shared among the GNOME C++ binding libraries"
arch=('any')
url="https://github.com/GNOME/mm-common"
license=('GPL')
depends=('bash')
makedepends=('git' 'wget')
provides=('mm-common')
conflicts=('mm-common')
source=("git://github.com/GNOME/mm-common")
md5sums=('SKIP')
_gitname="mm-common"

pkgver() {
  cd $srcdir/$_gitname
  git describe --always | sed 's|-|.|g'
}

build() {
  cd "$srcdir/$_gitname"
  ./autogen.sh
  ./configure --prefix=/usr --enable-network 
  make
}

package() {
  cd "$srcdir/$_gitname"
  make DESTDIR="$pkgdir/" install
}