summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4588d60c492e41eb83ffd65f158d5082bfd03da (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
# Maintainer: Javier Domingo Cansino <javierdo1@gmail.com>
pkgname=libroxml
pkgver=3.0.2
pkgrel=1
pkgdesc="Tiny XML parsing library"
url="http://www.libroxml.net/"
arch=('x86_64' 'i686')
license=('LGPL')
depends=()
makedepends=('make' 'cmake')
source=("http://download.libroxml.net/pool/v3.x/libroxml-3.0.2.tar.gz")
md5sums=('901672549367d41bb2d55916bc21eac1')
_folder=${pkgname}-${pkgver}

build() {
  echo "${srcdir}/${_folder}"
  cd "${srcdir}/${_folder}"
  cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DBUILD_TESTING=Off
  make
}

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