This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
plasp/packaging/arch/PKGBUILD

40 lines
792 B
Bash
Raw Normal View History

2016-10-07 18:29:22 +02:00
# Maintainer: Patrick Lühne <patrick-arch@luehne.de>
pkgname=plasp
pkgver=3.0.3
pkgrel=1
epoch=
pkgdesc="ASP planning tools for PDDL"
2016-10-07 18:29:22 +02:00
arch=('x86_64' 'i686')
url="https://github.com/potassco/plasp"
license=('MIT')
groups=()
depends=()
makedepends=('cmake')
2016-10-07 18:29:22 +02:00
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/potassco/$pkgname/archive/v$pkgver.tar.gz")
noextract=()
md5sums=('2ecd24c675b69fb9fda8c50b8ffefede')
validpgpkeys=()
build() {
cd "$pkgname-$pkgver"
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$pkgname-$pkgver"
install -D build/bin/${pkgname} ${pkgdir}/usr/bin/${pkgname}
install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
2016-10-07 18:29:22 +02:00
}