summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tk-togl/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/tk-togl/PKGBUILD b/tk-togl/PKGBUILD
index d557b2596..9a36c4ac3 100644
--- a/tk-togl/PKGBUILD
+++ b/tk-togl/PKGBUILD
@@ -8,19 +8,19 @@ arch=('i686' 'pentium4' 'x86_64')
url="https://sourceforge.net/projects/togl/"
license=('BSD')
depends=(tk tcl libglvnd libxmu)
-_name=Togl2.0
-source=("${_name}.tar.gz::https://sourceforge.net/projects/togl/files/Togl/2.0/${_name}-src.tar.gz/download"
+_pkgname=Togl
+source=("${_pkgname}${pkgver}.tar.gz::https://sourceforge.net/projects/togl/files/Togl/2.0/${_pkgname}${pkgver}-src.tar.gz"
"fix-configure.patch")
sha256sums=('b7d4a90bbad3aca618d505ee99e7fd8fb04c829f63231dda2360f557ba3f7610'
'79d1519517787c1a36d3493dde915a06005633fff6fba60d88b4516fce3d0268')
prepare() {
- cd $_name
+ cd ${_pkgname}${pkgver}
patch -p1 -i "$srcdir/fix-configure.patch"
}
build() {
- cd $_name
+ cd ${_pkgname}${pkgver}
./configure
make
}