[arch-commits] Commit in vice/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Thu Feb 21 11:51:26 UTC 2019
Date: Thursday, February 21, 2019 @ 11:51:25
Author: arodseth
Revision: 434975
upgpkg: vice 3.3-3
Modified:
vice/trunk/PKGBUILD
----------+
PKGBUILD | 39 ++++++++++++++++++---------------------
1 file changed, 18 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-21 11:37:16 UTC (rev 434974)
+++ PKGBUILD 2019-02-21 11:51:25 UTC (rev 434975)
@@ -1,25 +1,24 @@
-# Maintainer:
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
# Contributor: Giovanni Scafora <giovanni at archlinux.org>
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=vice
pkgver=3.3
-pkgrel=2
-pkgdesc="The Versatile Commodore 8-bit Emulator"
-arch=('x86_64')
-license=('GPL')
-url="http://vice-emu.sourceforge.net/"
-depends=('libpulse' 'giflib' 'libpng' 'libjpeg-turbo' 'sdl2')
-makedepends=('xorg-bdftopcf' 'xorg-mkfontdir' 'libpcap' 'libxaw' 'ffmpeg' 'xa')
-source=("http://downloads.sourceforge.net/project/vice-emu/releases/${pkgname}-${pkgver}.tar.gz"
- 'disable-fc-cache.patch')
+pkgrel=3
+pkgdesc='The Versatile Commodore 8-bit Emulator'
+arch=(x86_64)
+license=(GPL)
+url='https://vice-emu.sourceforge.net/'
+depends=(giflib libjpeg-turbo libpng libpulse sdl2)
+makedepends=(ffmpeg libpcap libxaw xa xorg-bdftopcf xorg-mkfontdir)
+source=("https://downloads.sourceforge.net/project/vice-emu/releases/${pkgname}-${pkgver}.tar.gz"
+ disable-fc-cache.patch)
sha256sums=('1a55b38cc988165b077808c07c52a779d181270b28c14b5c9abf4e569137431d'
'8058210e092c4943a55baeff47e6d5f3661aeb3686fd1f75e07f47888da9cc98')
prepare() {
- cd ${pkgname}-${pkgver}
+ cd $pkgname-$pkgver
rm -rf src/lib/{liblame,libx264,libffmpeg}
-
patch -p1 -i "$srcdir/disable-fc-cache.patch"
sed -i 's/lib64/lib/g' configure.ac
autoreconf -fi
@@ -26,17 +25,15 @@
}
build() {
- cd ${pkgname}-${pkgver}
-
- ./configure --prefix=/usr \
- --libdir=/usr/lib \
- --enable-external-ffmpeg
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --libdir=/usr/lib --enable-external-ffmpeg
make
}
package() {
- cd ${pkgname}-${pkgver}
+ make DESTDIR="$pkgdir" realdocdir="/usr/share/doc/vice" -C $pkgname-$pkgver \
+ install -j1
+ ln -s /usr/share/doc/vice "$pkgdir/usr/lib/vice/doc"
+}
- make DESTDIR="${pkgdir}" realdocdir="/usr/share/doc/vice" install -j1
- ln -s /usr/share/doc/vice "${pkgdir}/usr/lib/vice/doc"
-}
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list