upgpkg: maxima 5.46.0-9 (sbcl rebuild)
[arch-packages.git] / rp-pppoe / trunk / PKGBUILD
blob4bb4c11ae581e55967e6dbe6b3c50c0c30a61520
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Daniel Isenmann <daniel@archlinux.org>
3 # Contributor: orelien <aurelien.foret@wanadoo.fr>
5 pkgname=rp-pppoe
6 pkgver=3.15
7 pkgrel=2
8 pkgdesc="Roaring Penguin's Point-to-Point Protocol over Ethernet client"
9 arch=('x86_64')
10 url="https://dianne.skoll.ca/projects/rp-pppoe"
11 license=('GPL')
12 depends=('ppp=2.4.9' 'sh' 'iproute2')
13 backup=(etc/ppp/pppoe.conf etc/ppp/firewall-standalone etc/ppp/firewall-masq 
14         etc/ppp/pppoe-server-options)
15 options=('!makeflags')
16 install=rp-pppoe.install
17 source=(https://dianne.skoll.ca/projects/rp-pppoe/download/rp-pppoe-$pkgver.tar.gz{,.sig} 
18        adsl.service)
19 validpgpkeys=('FC2E9B645468698FD7B21655C1842E2A126F42E0'  # Dianne Skoll <dfs@roaringpenguin.com>
20               '738E4D954052902C147D07B2685A5A5E511D30E2') # Dianne Skoll <dianne@skoll.ca>
21 sha512sums=('a156c084e57361ab6a464c3205ffb85cf86d02f71f17f92c9567f1ab0ed300f10030832fd232084699dc842ac4891efc8c54c8165587bfc7b4c92724318a60d9'
22             'SKIP'
23             '75fdb55b872e6388053aa0c1ba0b98ab9eda6b6f59a7452843cff8de5a68276be3f48dbd9a6324917254d4fe0d1b2d7442f7a9bbfa1355b6f500db13c9409089')
25 build() {
26   cd $pkgname-$pkgver/src
27   ./configure --prefix=/usr --sbindir=/usr/bin --enable-plugin
28   make PLUGIN_DIR="/usr/lib/rp-pppoe" all rp-pppoe.so
31 package() {
32   cd $pkgname-$pkgver/src
33   make PLUGIN_DIR="/usr/lib/rp-pppoe" DESTDIR="$pkgdir" install
35   #install -Dm755 "$srcdir/adsl" "$pkgdir/etc/rc.d/adsl"
36   install -Dm644 "$srcdir/adsl.service" "$pkgdir/usr/lib/systemd/system/adsl.service"