# Description: A utility to simplify ports searching/installing
# URL: https://crux.nu/gitweb/?p=tools/prt-get.git;a=summary
# Maintainer: Alexander Zhirov

name=prt-get
version=5.19.6
release=1
source=(
    http://crux.nu/files/prt-get-$version.tar.xz
    prt-get.conf
	prt-get.aliases
)

build() {
    cd ${name}-${version}

    ./configure --prefix=/usr
    make
    make DESTDIR=$PKG install

    install -m 644 $SRC/prt-get.{conf,aliases} $PKG/etc/
    install -d $PKG/var/lib/pkg
    touch $PKG/var/lib/pkg/prt-get.locker
}