# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Max Meyer <dev@fedux.org>

pkgname=pacparser
pkgver=1.3.7rc6
pkgrel=2
pkgdesc="Library to parse proxy auto-config (PAC) files"
arch=(x86_64)
url="https://github.com/pacparser/pacparser"
license=('LGPL')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/pacparser/pacparser/archive/$pkgver.tar.gz")
sha512sums=('4489d3ca1d2121013373cf473a449ee09d6eb33840241739c988657335e9c9be98a39dd1cb4d690bbc98f8e7a444a31829f8b99ab64685252b9aed750f5fa768')

build() {
  cd $pkgbase-$pkgver
  make all -C src
}

package() {
  cd $pkgbase-$pkgver
  make -C src DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et:
