summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-05-05 11:55:17 +0200
committerhaawda2018-05-05 11:55:17 +0200
commit176bd9a0d92d2033316c0e72e6e9fd69b753d0ca (patch)
tree533e505211963cb3dc1931c4dbbc67c1981ad942
parent58c60de489f18302d66cfb733623c1c3ad4d8e64 (diff)
downloadaur-176bd9a0d92d2033316c0e72e6e9fd69b753d0ca.tar.gz
add gpg verification and a check for texinfo.tex symlink
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD15
2 files changed, 12 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c457a755baa..78f6b143e79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,17 @@
pkgbase = tramp
pkgdesc = emacs extension that provides transparent remote file editing
pkgver = 2.3.3
- pkgrel = 1
+ pkgrel = 2
url = http://www.gnu.org/software/tramp/
arch = any
license = GPL
makedepends = emacs
makedepends = texinfo
source = ftp://ftp.gnu.org/gnu/tramp/tramp-2.3.3.tar.gz
+ source = ftp://ftp.gnu.org/gnu/tramp/tramp-2.3.3.tar.gz.sig
+ validpgpkeys = C9A04D6E84B6DB548F4585A2AC966DC9E3E1AECA
sha256sums = 7346f0899964414c65ca8833247c10dd83f65b855008a87802833b646899db75
+ sha256sums = SKIP
pkgname = tramp
diff --git a/PKGBUILD b/PKGBUILD
index 138397740c8..d50e2573263 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=tramp
pkgver=2.3.3
-pkgrel=1
+pkgrel=2
pkgdesc="emacs extension that provides transparent remote file editing"
arch=('any')
url=http://www.gnu.org/software/tramp/
@@ -13,22 +13,23 @@ license=('GPL')
makedepends=('emacs' 'texinfo')
# add texlive-core to the makedepends and comment in the last two lines
# of this PKGBUILD if you want the documentation in dvi-format
-source=("ftp://ftp.gnu.org/gnu/tramp/$pkgname-$pkgver.tar.gz")
-sha256sums=('7346f0899964414c65ca8833247c10dd83f65b855008a87802833b646899db75')
+source=("ftp://ftp.gnu.org/gnu/tramp/$pkgname-$pkgver.tar.gz"{,.sig})
+sha256sums=('7346f0899964414c65ca8833247c10dd83f65b855008a87802833b646899db75' 'SKIP')
+validpgpkeys=('C9A04D6E84B6DB548F4585A2AC966DC9E3E1AECA') # Michael Albinus
prepare() {
- cd "$pkgname-$pkgver/texi"
- ln -s /usr/share/automake-1.15/texinfo.tex texinfo.tex
+ cd $pkgname-$pkgver/texi
+ [[ -L texinfo.tex ]] || ln -s /usr/share/automake-1.15/texinfo.tex texinfo.tex
}
build() {
- cd "$pkgname-$pkgver"
+ cd $pkgname-$pkgver
./configure --prefix=/usr --with-contrib
make
}
package() {
- cd "$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
mv $pkgdir/usr/share/info/$pkgname $pkgdir/usr/share/info/$pkgname-new
# install -Dm644 texi/$pkgname.dvi \