summaryrefslogtreecommitdiff
path: root/tk-togl
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-21 20:51:48 +0200
committerErich Eckner <git@eckner.net>2020-04-21 20:51:48 +0200
commit772e6ad8f818a2b88ab78b2f80056e02dd73d9d6 (patch)
tree614e8467defcd522f0cf66bf67b06edf4a8da6bb /tk-togl
parentb94ce6ca1ddc024da251c9a2c7e615a952f6df39 (diff)
downloadarchlinuxewe-772e6ad8f818a2b88ab78b2f80056e02dd73d9d6.tar.xz
tk-togl: $_pkgname new
Diffstat (limited to 'tk-togl')
-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
}