diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2013-02-27 12:28:41 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2013-02-27 12:28:41 +0100 |
commit | 3f59fd8d7da6bc908ff5381ead6e9ebd96ebaf60 (patch) | |
tree | fb50d1a603e0acc16a2e025b45b813fb15802ef7 | |
parent | 8b1e0d73830183294ab1a46f66b19c2831ce6e73 (diff) | |
download | netctl-3f59fd8d7da6bc908ff5381ead6e9ebd96ebaf60.tar.gz netctl-3f59fd8d7da6bc908ff5381ead6e9ebd96ebaf60.tar.xz |
PKGBUILD: use signed sources
This commit extends 8b1e0.
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | contrib/PKGBUILD | 5 |
2 files changed, 7 insertions, 3 deletions
@@ -46,7 +46,10 @@ netctl-$(VERSION).tar.xz: | docs pkgbuild: PKGBUILD PKGBUILD: netctl-$(VERSION).tar.xz - sed -e "s/%pkgver%/$(VERSION)/" -e "s/%md5sum%/$(shell md5sum $< | cut -d ' ' -f 1)/" contrib/PKGBUILD > $@ + sed -e "s/%pkgver%/$(VERSION)/g" \ + -e "s/%md5sum%/$(shell md5sum $< | cut -d ' ' -f 1)/" \ + -e "s/%md5sum.sig%/$(shell md5sum $<.sig | cut -d ' ' -f 1)/" \ + contrib/PKGBUILD > $@ upload: netctl-$(VERSION).tar.xz scp $< $<.sig nymeria.archlinux.org:/srv/ftp/other/packages/netctl diff --git a/contrib/PKGBUILD b/contrib/PKGBUILD index 14052ec..b182b6d 100644 --- a/contrib/PKGBUILD +++ b/contrib/PKGBUILD @@ -18,9 +18,10 @@ optdepends=('dialog: for the menu based wifi assistant' 'bridge-utils: for bridge connections' ) conflicts=("netcfg") -source=(ftp://ftp.archlinux.org/other/netctl/netctl-${pkgver}.tar.xz) +source=(ftp://ftp.archlinux.org/other/packages/netctl/netctl-${pkgver}.tar.xz{,.sig}) arch=(any) -md5sums=('%md5sum%') +md5sums=('%md5sum%' + '%md5sum.sig%') package() { cd "$srcdir/netctl-${pkgver}" |