-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A library to parse proxy auto-config (PAC) files http://pacparser.manugarg.com
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Contributor: Aaron Hurt <[email protected]> | ||
# Maintainer: Aaron Hurt <[email protected]> | ||
pkgname=pacparser | ||
pkgver=1.3.6 | ||
pkgrel=0 | ||
pkgdesc="A library to parse proxy auto-config (PAC) files" | ||
url="http://pacparser.manugarg.com" | ||
arch="all" | ||
license="LGPL3+" | ||
depends="" | ||
makedepends="bash" | ||
install="" | ||
subpackages="$pkgname-doc $pkgname-dev" | ||
source="$pkgname-$pkgver.tar.gz::https://github.com/pacparser/pacparser/archive/$pkgver.tar.gz" | ||
builddir="$srcdir/$pkgname-$pkgver" | ||
|
||
prepare() { | ||
cd "$builddir" | ||
find . -name \*.git\* -delete | ||
} | ||
|
||
build() { | ||
cd "$builddir" | ||
make -C src pactester > /dev/null 2>&1 || return 1 | ||
} | ||
|
||
package() { | ||
cd "$builddir" | ||
make -C src install DESTDIR=$pkgdir LIB_PREFIX=$pkgdir/usr/lib > /dev/null 2>&1 || return 1 | ||
} | ||
|
||
md5sums="a7b80fc8b8a4cd8d2060d23eb5f141d2 pacparser-1.3.6.tar.gz" | ||
sha256sums="c1f6f2ccd4fec329175f882102e47c57328e8e6e16aa9dbd4f8b859f9a028e83 pacparser-1.3.6.tar.gz" | ||
sha512sums="9ba0eaf0f7010363897933cfa7ab4bdbc7fab488deaeab90906d2638cb8523a013d6f9b41148dea679d76809cf1ae9b2b131c0a2937d431ec234dedcdda5bb39 pacparser-1.3.6.tar.gz" |