summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD58
2 files changed, 40 insertions, 37 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9ae741896ec..6346291fde3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,18 @@
-# Generated by mksrcinfo v8
-# Sun Nov 18 15:17:46 UTC 2018
pkgbase = lib32-libsidplay
- pkgdesc = A library for playing SID music files, lib32.
+ pkgdesc = A library for playing SID music files, lib32 (32-bit)
pkgver = 1.36.59
- pkgrel = 6
- url = http://critical.ch/distfiles/
+ pkgrel = 7
+ url = https://critical.ch/distfiles/
arch = x86_64
license = GPL
- depends = libsidplay
depends = lib32-gcc-libs
- options = !libtool
- source = https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/libsidplay/1.36.59-11/libsidplay_1.36.59.orig.tar.gz
+ depends = libsidplay
+ source = https://critical.ch/distfiles/libsidplay-1.36.59.tgz
source = libsidplay-1.36.59-gcc43.patch
source = g++-6_build.patch
- md5sums = 37c51ba4bd57164b1b0bb7b43b9adece
- md5sums = c24d7bca2639f4fee03c40c7dcaadfee
- md5sums = 4fbea288f7f427818462343e33794356
+ sha256sums = 3da9b38d4eb5bf9e936b9604ba92da0594ef38047d50cf806a8e11c400008024
+ sha256sums = 68476bfee9a378b045c81eb0f6d9aee7341610fe6b22047d67ce859a7a3b5053
+ sha256sums = 6612b8c684bfd80d88431d3aa7f5a3fc911528f25f67ab530f78a7592cc11e23
pkgname = lib32-libsidplay
diff --git a/PKGBUILD b/PKGBUILD
index 2d1a41ad935..2f90bad8d07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,45 +1,51 @@
-# Maintainer: GordonGR <gordongr@freemail.gr>
+# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
+# Contributor: GordonGR <gordongr@freemail.gr>
# Contributor: Kritoke <kritoke@gamebox.net>
# Contributor: Jan de Groot <jgc@archlinux.org>
+_basename=libsidplay
pkgname=lib32-libsidplay
-_pkgname=libsidplay
pkgver=1.36.59
-pkgrel=6
-pkgdesc="A library for playing SID music files, lib32."
+pkgrel=7
+pkgdesc="A library for playing SID music files, lib32 (32-bit)"
arch=('x86_64')
-url="http://critical.ch/distfiles/"
+url="https://critical.ch/distfiles/"
license=('GPL')
-options=('!libtool')
-depends=("${_pkgname}" "lib32-gcc-libs")
-source=("https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/${_pkgname}/${pkgver}-11/${_pkgname}_${pkgver}.orig.tar.gz"
- "libsidplay-1.36.59-gcc43.patch"
- "g++-6_build.patch")
-md5sums=('37c51ba4bd57164b1b0bb7b43b9adece'
- 'c24d7bca2639f4fee03c40c7dcaadfee'
- '4fbea288f7f427818462343e33794356')
+depends=('lib32-gcc-libs' 'libsidplay')
+source=(https://critical.ch/distfiles/${_basename}-${pkgver}.tgz
+ libsidplay-1.36.59-gcc43.patch
+ g++-6_build.patch)
+sha256sums=('3da9b38d4eb5bf9e936b9604ba92da0594ef38047d50cf806a8e11c400008024'
+ '68476bfee9a378b045c81eb0f6d9aee7341610fe6b22047d67ce859a7a3b5053'
+ '6612b8c684bfd80d88431d3aa7f5a3fc911528f25f67ab530f78a7592cc11e23')
prepare() {
-cd ${_pkgname}-${pkgver}
-patch -Np1 -i ../libsidplay-1.36.59-gcc43.patch
-patch -Np1 -i ../g++-6_build.patch
+ cd ${_basename}-${pkgver}
+
+ patch -Np1 -i ../libsidplay-1.36.59-gcc43.patch
+ patch -Np1 -i ../g++-6_build.patch
}
build() {
-cd ${_pkgname}-${pkgver}
-export CC="gcc -m32"
-export CXX="g++ -m32 -Wno-narrowing"
-export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+ cd ${_basename}-${pkgver}
+
+ export CC="gcc -m32"
+ export CXX="g++ -m32 -Wno-narrowing"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-./configure --prefix=/usr --libdir=/usr/lib32 --libexecdir=/usr/lib32
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --libexecdir=/usr/lib32
-make
+ make
}
package() {
-cd ${_pkgname}-${pkgver}
-make DESTDIR=${pkgdir} install
+ cd ${_basename}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
-cd "$pkgdir/usr"
-rm -rf include/
+ cd "$pkgdir/usr"
+ rm -rf include/
}