Commit 89eb3ead authored by Daniel Krebs's avatar Daniel Krebs
Browse files

packaging: update Archlinux PKGBUILD

parent 824c9987
Pipeline #33586 failed with stage
in 5 seconds
# $Id$
# Maintainer: Daniel Krebs <github@daniel-krebs.net>
pkgname=libxil
BRANCH=master
COMMIT=1e9ba6ce5568b2712fef60f8a1923aeb3979bda7
branch=master
pkgver=0.1
pkgrel=1
pkgrel=2
pkgdesc="Modified Xilinx drivers for VILLASnode: https://github.com/Xilinx/embeddedsw"
arch=('i686' 'x86_64')
url="http://libxil.org"
source=("https://git.rwth-aachen.de/VILLASframework/libxil/repository/${BRANCH}/archive.tar.bz2?sha=${COMMIT}")
arch=('x86_64')
url="https://git.rwth-aachen.de/VILLASframework/libxil/"
source=("$url/repository/$branch/archive.tar.bz2")
sha256sums=(SKIP)
build() {
mkdir -p "$srcdir/$pkgname-$BRANCH-$COMMIT/build"
cd "$srcdir/$pkgname-$BRANCH-$COMMIT/build"
cd "$(sh -c "echo ${pkgname}-*")"
mkdir -p build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/$pkgname-$BRANCH-$COMMIT/build"
cd "$(sh -c "echo ${pkgname}-*")"/build
make DESTDIR="$pkgdir" install
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment