summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD58
1 files changed, 32 insertions, 26 deletions
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/
}