summaryrefslogtreecommitdiff
path: root/extra/appdata-tools/PKGBUILD
blob: de9736e061730439210a433ffa4d49fec4d36d09 (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
# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=appdata-tools
pkgver=0.1.7
pkgrel=1
pkgdesc="command line program designed to validate AppData descriptions for standards compliance and to the style guide"
arch=('i686' 'x86_64')
url="https://github.com/hughsie/appdata-tools/"
license=('GPL')
depends=('glib2' 'libsoup' 'gdk-pixbuf2')
makedepends=('intltool')
source=(https://github.com/hughsie/appdata-tools/archive/${pkgname//-/_}_${pkgver//./_}.tar.gz)
md5sums=('1de322092e91a992c7b5ec4e5a43b45e')

build() {
  cd ${pkgname}-${pkgname//-/_}_${pkgver//./_}
  autoreconf -fi
  intltoolize
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgname//-/_}_${pkgver//./_}
  make DESTDIR="${pkgdir}" install
}