summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 20774628825a7afc60be25fd9d448e68a32526d7 (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
# Maintainer: Simon Wilper <sxw@chronowerks.de>
pkgname=libredwg-git
_pkgname=libredwg
pkgver=latest
pkgrel=2
pkgdesc="A free C library to handle DWG files"
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/libredwg/"
license=('GPL')
makedepends=('git')
source=("$_pkgname::git+https://git.savannah.gnu.org/git/$_pkgname.git")
md5sums=('SKIP')

build() {
  cd "$_pkgname"

  sh autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "$_pkgname"

  make DESTDIR="$pkgdir/" install
}