mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 01:42:15 +08:00
29 lines
905 B
Bash
29 lines
905 B
Bash
# Lib32 Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
|
|
|
_pkgbasename=libjpeg
|
|
pkgname=lib32-${_pkgbasename}6
|
|
pkgver=6b
|
|
pkgrel=2
|
|
_pkgrel32=6
|
|
pkgdesc="An older version of a library of JPEG support functions (32-bit)"
|
|
url="ftp://ftp.uu.net/graphics/jpeg/"
|
|
license=('custom')
|
|
arch=(x86_64)
|
|
groups=('lib32')
|
|
depends=('lib32-glibc')
|
|
source=("http://mirror.oscc.org.my/archlinux/extra/os/i686/$_pkgbasename-$pkgver-$_pkgrel32-i686.pkg.tar.gz")
|
|
md5sums=('3cfb78bd9ac89bbf28130ec825187933')
|
|
|
|
build() {
|
|
cd $srcdir || return 1
|
|
install -d $pkgdir/usr/lib32 || return 1
|
|
cp -dp usr/lib/*.so* $pkgdir/usr/lib32 || return 1
|
|
rm -f $pkgdir/usr/lib32/libjpeg.so || return 1
|
|
|
|
install -Dm644 $startdir/LICENSE \
|
|
$pkgdir/usr/share/licenses/${_pkgbasename}6/LICENSE || return 1
|
|
}
|