diff --git a/PKGBUILD b/PKGBUILD index edb1186..d5e8af2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,25 +10,25 @@ arch=('x86_64') url="https://dianne.skoll.ca/projects/rp-pppoe" license=('GPL') depends=('ppp=2.5.0' 'sh' 'iproute2') +makedepends=('git') backup=(etc/ppp/pppoe-server-options) options=('!makeflags') install=rp-pppoe.install -source=(https://dianne.skoll.ca/projects/rp-pppoe/download/rp-pppoe-$pkgver.tar.gz{,.sig} +source=(git+https://salsa.debian.org/dskoll/rp-pppoe.git#tag=$pkgver?signed adsl.service) validpgpkeys=('FC2E9B645468698FD7B21655C1842E2A126F42E0' # Dianne Skoll '738E4D954052902C147D07B2685A5A5E511D30E2') # Dianne Skoll -sha512sums=('faebe543988b1ffacd4d9bf55a3ec21f3a541f9232ba6c7b6fa0e8103d6c2b7b1c358e7f7bc8f99bebb24b2f7bdcc2f46ba1ef4c23e6dd34062f8f28114e7aea' - 'SKIP' +sha512sums=('SKIP' '75fdb55b872e6388053aa0c1ba0b98ab9eda6b6f59a7452843cff8de5a68276be3f48dbd9a6324917254d4fe0d1b2d7442f7a9bbfa1355b6f500db13c9409089') build() { - cd $pkgname-$pkgver/src + cd $pkgname/src ./configure --prefix=/usr --sbindir=/usr/bin --enable-plugin make PLUGIN_DIR="/usr/lib/rp-pppoe" all rp-pppoe.so } package() { - cd $pkgname-$pkgver/src + cd $pkgname/src make PLUGIN_DIR="/usr/lib/rp-pppoe" DESTDIR="$pkgdir" install #install -Dm755 "$srcdir/adsl" "$pkgdir/etc/rc.d/adsl"