updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / eselect / PKGBUILD
blob16cb5da632c9b1be90eb6de51cf2fd8dc7126b5d
1 #Maintainer: Nathan Owe <ndowens.aur at gmail dot com>
2 pkgname=eselect
3 pkgver=1.2.15
4 pkgrel=1
5 pkgdesc="Gentoo's multi-purpose configuration and management tool"
6 url="http://www.gentoo.org/proj/en/eselect/"
7 install=${pkgname}.install
8 source=("http://mirrors.kernel.org/gentoo/distfiles/${pkgname}-${pkgver}.tar.bz2")
9 arch=('i686' 'x86_64')
10 options=('emptydirs')
11 backup=('etc/make.conf')
12 depends=('file' 'sed' 'ncurses' 'gettext')
13 license=('GPL2')
14 md5sums=('6fa8524496c857a4e285dff4cfa3ed66')
16 build() {
17      cd ${srcdir}/${pkgname}-${pkgver}
18         ./configure --prefix=/usr
19     make
22 package() {
23         cd ${srcdir}/${pkgname}-${pkgver}
24         make DESTDIR="${pkgdir}" install
25         #FIX NON-EXISTING LINK TO FILES
26         rm -r ${pkgdir}/usr/share/man/man1
27         install -Dm644 man/eselect.1 ${pkgdir}/usr/share/man/man1/eselect.1