summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f4804e57b45d819d9a9688427e5af39b2bdcb4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Max Bruckner
_basename=mirrorselect
pkgname=gentoo-$_basename
pkgver=2.2.5
pkgrel=1
pkgdesc="Script for selecting Gentoo mirrors."
arch=( 'any' )
url="http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-portage/mirrorselect/mirrorselect-9999.ebuild"
license=('GPL2')
depends=('python' 'netselect' 'dialog' 'ssl-fetch>=0.2' )
source=("git://anongit.gentoo.org/proj/mirrorselect.git#tag=$pkgver")
sha512sums=('SKIP')

build() {
    cd "${srcdir}/${_basename}"
    ./setup.py build
}

package() {
    cd "${srcdir}/${_basename}"
    ./setup.py install --prefix='/usr/' --root="$pkgdir"
}