[arch-commits] Commit in din/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Fri Nov 9 18:36:19 UTC 2018


    Date: Friday, November 9, 2018 @ 18:36:18
  Author: dvzrv
Revision: 404384

upgpkg: din 38.a-1

As upstream doesn't adhere to semver (a-suffixed versions are released after non-suffixed versions), versioning is for now dot separated.

Modified:
  din/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-09 18:02:05 UTC (rev 404383)
+++ PKGBUILD	2018-11-09 18:36:18 UTC (rev 404384)
@@ -2,7 +2,8 @@
 # Contributor: muzhed <chustokes at 126.com>
 
 pkgname=din
-pkgver=38a
+pkgver=38.a
+_pkgver=${pkgver//.}
 pkgrel=1
 pkgdesc="A sound synthesizer and musical instrument."
 arch=('x86_64')
@@ -11,16 +12,16 @@
 groups=('pro-audio')
 depends=('hicolor-icon-theme' 'jack' 'libgl' 'sdl' 'tcl')
 makedepends=('boost' 'glu')
-source=("https://archive.org/download/dinisnoise_source_code/${pkgname}-${pkgver}.tar.gz")
+source=("https://archive.org/download/dinisnoise_source_code/${pkgname}-${_pkgver}.tar.gz")
 sha512sums=('252154fdf401d4eb37979c63765280d065ff57b680789020d068b682e71ddbaec5361168615d1b325d41f095620c72bf3f622471082f01ec185667c417135484')
 
 prepare() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-${_pkgver}"
   autoreconf -vfi
 }
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-${_pkgver}"
   CXXFLAGS="${CXXFLAGS} -O3 -D__UNIX_ALSA__ -D__UNIX_JACK__" \
   CFLAGS="${CFLAGS} -O3" \
   ./configure --prefix='/usr'
@@ -28,7 +29,7 @@
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-${_pkgver}"
   make install DESTDIR="${pkgdir}"
   # docs
   install -t "${pkgdir}/usr/share/doc/${pkgname}/" \


More information about the arch-commits mailing list