summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Falkenberg2021-05-16 17:42:16 +0200
committerRobert Falkenberg2021-05-16 17:42:16 +0200
commitcb92bfe53195f3d21aa7fbaea6cb2d4da689c0fd (patch)
treeaeefc7a46c1bd4dbd6b34f3fe728f2ab296db5b6
parent821d9aed554d13c1d29b80017646ab20b0c267c8 (diff)
downloadaur-python-pysim-git.tar.gz
Derive python-package name from pkgname
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 284f9e5a943..120620dbf04 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: Robert Falkenberg <robert.falkenberg@tu-dortmund.de>
pkgname=python-pysim-git
-_pyname=pysim
+_pyname=${pkgname#python-}
+_pyname=${_pyname%-git}
pkgver=1.0.r175.gb07a3e9
pkgrel=1
pkgdesc='A python tool to program SIMs / USIMs / ISIMs'