summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b9122239d79..5a2e39cdb3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
pkgname=netplug
pkgver=1.2.9.2
-pkgrel=3
+pkgrel=4
pkgdesc="A Linux daemon that manages network interfaces in response to network cables being plugged in and out"
arch=('i686' 'x86_64')
-url="http://www.red-bean.com/~bos/"
+url="https://www.red-bean.com/~bos/"
license=('GPL2')
depends=('iproute2>=2.4.7')
backup=("etc/$pkgname.d/${pkgname}d.conf"
"etc/$pkgname.d/$pkgname")
source=("$url$pkgname/$pkgname-$pkgver.tar.bz2"
- "http://pkgs.fedoraproject.org/rpms/$pkgname/raw/master/f/${pkgname}d.service"
- "http://pkgs.fedoraproject.org/rpms/$pkgname/raw/master/f/$pkgname-$pkgver-man.patch")
-md5sums=('1d6db99536bdf875ce441f2c0e45ebf2'
- '4482ef8c71bfb0b0335e9426d2852056'
- '7c44d211426ef68af4b4896b2b870882')
+ "http://src.fedoraproject.org/rpms/$pkgname/raw/main/f/${pkgname}d.service"
+ "http://src.fedoraproject.org/rpms/$pkgname/raw/main/f/$pkgname-$pkgver-man.patch")
+sha256sums=('5180dfd9a7d3d0633a027b0a04f01b45a6a64623813cd48bd54423b90814864e'
+ '44a7891fb8b322e51019220edafa9255ca18591867469ade554fefe2a93d6a40'
+ '656a2bebd65ce5f929def9196223b8a9b2876031f5348972cfd5d92fb1a41cd4')
prepare() {
cd "$pkgname-$pkgver"
@@ -35,7 +35,7 @@ package() {
# Replace default sysvinit script with a systemd unit
rm -r "$pkgdir/"etc/rc.d
- install -D -m644 {"$srcdir","$pkgdir/"usr/lib/systemd/system}/${pkgname}d.service
+ install -Dp -m644 {"$srcdir","$pkgdir/"usr/lib/systemd/system}/${pkgname}d.service
}
# vim: set ft=sh ts=4 sw=4 noet: