blob: ef31d5ee2214c80fa043c9e0ee60302f31d6e3e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 78568 2012-10-21 05:11:47Z ebelanger $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
_pkgbasename=util-linux
pkgname=lib32-$_pkgbasename
pkgver=2.22.1
pkgrel=1
pkgdesc="Miscellaneous system utilities for Linux (32-bit)"
url='http://www.kernel.org/pub/linux/utils/util-linux/'
arch=('x86_64')
depends=('lib32-glibc' "$_pkgbasename")
makedepends=('gcc-multilib')
provides=('lib32-util-linux-ng')
conflicts=('lib32-util-linux-ng')
replaces=('lib32-util-linux-ng')
license=('GPL2')
options=('!libtool' '!emptydirs')
source=("ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.22/util-linux-$pkgver.tar.xz")
md5sums=('730cf9932531ed09b53a04ca30fcb4c9')
shopt -s extglob
build() {
cd "$_pkgbasename-$pkgver"
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --without-ncurses --libdir=/usr/lib32
make lib{uuid,blkid,mount}.la
}
package() {
make -C "$_pkgbasename-$pkgver" \
DESTDIR="$pkgdir" \
install-usrlib_execLTLIBRARIES \
install-pkgconfigDATA
}
|