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

pkgname=pacparser
pkgver=1.4.2
pkgrel=1
pkgdesc="Library to parse proxy auto-config (PAC) files"
arch=(x86_64)
url="https://github.com/pacparser/pacparser"
license=('LGPL')
source=("https://github.com/pacparser/pacparser/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('65d12421ee79a969b867d7dcec1527ac9b2596c25f6be2502742ba1b3788f05afeed2fcd5406dfb39485d1d56ef161684acabe6a95008725385c3c5336f331b1')

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

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

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