summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2018-03-20 00:15:18 +0100
committerhaawda2018-03-20 00:15:18 +0100
commit548f5a3f593cce06b2826002ddb0266706cc5b5a (patch)
tree518e2e9c323baa7a58027226e4ac75177a4bd75b /PKGBUILD
parent8e74c5c6cf14a796120cc07af5e2bc113502590c (diff)
downloadaur-xforms.tar.gz
use quoting of variables
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a551be4381a..1f0dd578dfa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,18 @@
pkgname=xforms
pkgver=1.2.5pre1
-pkgrel=1
+pkgrel=3
pkgdesc="A graphical user interface toolkit for X Window Systems."
arch=('i686' 'x86_64')
license=('LGPL')
url='http://xforms-toolkit.org/'
depends=('libxpm' 'libjpeg' 'libgl')
makedepends=('texlive-plainextra')
-source=(http://download.savannah.gnu.org/releases/xforms/$pkgname-$pkgver.tar.gz)
-md5sums=('a710237662e3e3350e9f4309d7dcf14d')
+source=("http://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.xz")
+sha256sums=('52d0358f384db0ebf053dc1ae5f98446b1ae3ad75ebdd4438da8c023acbf9dba')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $pkgname-$pkgver
./configure --prefix=/usr
make
cd doc
@@ -22,12 +22,12 @@ build() {
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir/ install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir"/ install
rm $pkgdir/usr/lib/*.la
- install -d $pkgdir/usr/share/info
- install -m644 $srcdir/$pkgname-$pkgver/doc/$pkgname.info* \
- $pkgdir/usr/share/info
- install -Dm644 $srcdir/$pkgname-$pkgver/doc/$pkgname.pdf \
- $pkgdir/usr/share/doc/$pkgname/$pkgname.pdf
+ install -d "$pkgdir"/usr/share/info
+ install -m644 doc/$pkgname.info* \
+ "$pkgdir"/usr/share/info
+ install -Dm644 doc/$pkgname.pdf \
+ "$pkgdir"/usr/share/doc/$pkgname/$pkgname.pdf
}