arch-ppa/src/reprepro/PKGBUILD

27 lines
721 B
Bash

# Contributor: Andre Klitzing <andre AT incubo DOT de>
# Maintainer: max-k <max-k AT post DOT com>
pkgname=reprepro
pkgver=4.17.1
pkgrel=1
pkgdesc="A tool to handle local repositories of Debian packages"
arch=('i686' 'x86_64')
url="http://mirrorer.alioth.debian.org"
license=('GPL')
depends=('db' 'gpgme' 'zlib' 'bzip2' 'libarchive')
optdepends=('apt: Importing from other sources')
source=("http://ftp.debian.org/debian/pool/main/r/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz")
sha256sums=('1f6668d2dba652a71a7d9fddb39dcf949336513b0aaa4c71c14081e833cc2d5c')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}