summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 01ae0971985fb8fa22440020fa67f01c628b6603 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
# Contributor: orelien <aurelien.foret@wanadoo.fr>

_pkgname=rp-pppoe
pkgname=${_pkgname}-gui
pkgver=3.15
pkgrel=1
pkgdesc="GUI for Roaring Penguin's Point-to-Point Protocol over Ethernet client"
arch=('i686' 'x86_64')
url="http://www.roaringpenguin.com/pppoe/"
license=('GPL')
depends=("$_pkgname=$pkgver" 'tk')
options=('!makeflags' '!emptydirs')
source=(https://dianne.skoll.ca/projects/rp-pppoe/download/rp-pppoe-$pkgver.tar.gz # {,.sig}
       kmode.patch)
validpgpkeys=('FC2E9B645468698FD7B21655C1842E2A126F42E0') # Dianne Skoll

prepare() {
  cd "$srcdir/$_pkgname-$pkgver/src"
  patch -Np2 -i ../../kmode.patch
}

build() {
  cd "$srcdir/$_pkgname-$pkgver/src"
  ./configure --prefix=/usr --sbindir=/usr/bin --enable-plugin
  cd ../gui
  make PLUGIN_DIR="/usr/lib/rp-pppoe"
}

package() {
  cd "$srcdir/$_pkgname-$pkgver/src"
  cd ../gui
  make PLUGIN_DIR="/usr/lib/rp-pppoe" DESTDIR="$pkgdir" install
}
md5sums=('5b6e19e7a31ff228fafd2e62f023e521'
         '8df35e67558b6b4567d1ab24c9202898')