summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58445f28d2cae6e5950b02bd5cf4b6d793442fca (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=1
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
}