core/networkmanager-vpnc/PKGBUILD

29 lines
790 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=networkmanager-vpnc
2015-09-16 19:26:03 +08:00
pkgver=1.0.6
2014-09-11 05:22:08 +08:00
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="NetworkManager VPN plugin for vpnc"
2012-12-07 06:12:54 +08:00
arch=('x86_64')
2010-03-14 23:48:48 +08:00
license=('GPL')
url="http://www.gnome.org/projects/NetworkManager/"
2015-01-06 08:17:45 +08:00
depends=('networkmanager' 'vpnc')
makedepends=('intltool')
source=("http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-vpnc/1.0/NetworkManager-vpnc-${pkgver}.tar.xz")
2015-09-16 19:26:03 +08:00
sha256sums=('538298d72845863bf16435940333d30a32a3b28b03b67f9f46c8a0c32cbdcc43')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/NetworkManager-vpnc-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc \
2014-09-11 05:22:08 +08:00
--localstatedir=/var \
2010-03-14 23:48:48 +08:00
--libexecdir=/usr/lib/networkmanager \
2011-11-25 07:38:50 +08:00
--without-gnome \
2015-01-06 08:17:45 +08:00
--disable-static \
--disable-more-warnings
make
2011-06-09 17:51:06 +08:00
}
package() {
cd "${srcdir}/NetworkManager-vpnc-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
}