mirror of
https://github.com/cclassic/model-ghdl
synced 2024-11-24 08:45:05 +01:00
Added Arch Linux PKGBUILD
This commit is contained in:
parent
8c5bdd7c60
commit
7a8226f44d
33
arch/PKGBUILD
Normal file
33
arch/PKGBUILD
Normal file
@ -0,0 +1,33 @@
|
||||
# Maintainer: Markus Koch <CClassicVideos@aol.com>
|
||||
|
||||
pkgname=model-ghdl
|
||||
pkgver=8c5bdd7
|
||||
pkgrel=1
|
||||
pkgdesc='A wrapper for ghdl to make it look like modelsim.'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://github.com/cclassic/model-ghdl'
|
||||
license=('GPL')
|
||||
depends=('gtk3')
|
||||
makedepends=('cmake' 'git')
|
||||
source=("model-ghdl::git://github.com/cclassic/model-ghdl.git")
|
||||
sha1sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
echo $(git log |head -n 1|sed "s/.* //g" | head -c 7)
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/model-ghdl"
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
|
||||
#-DCMAKE_C_FLAGS=-DPROGRAM_REVISION="#${pkgver}";
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/model-ghdl"
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
12
arch/README.md
Normal file
12
arch/README.md
Normal file
@ -0,0 +1,12 @@
|
||||
Arch Linux Build Script
|
||||
=======================
|
||||
This directory contains the PKGBUILD required to compile binary distribution packages for Arch Linux.
|
||||
|
||||
Build instructions
|
||||
------------------
|
||||
On Arch, simply enter
|
||||
```
|
||||
$ makepkg -s
|
||||
# pacman -U model-ghdl-xxxxxxx-1-arch.pkg.tar.xz
|
||||
```
|
||||
to install the program.
|
Loading…
Reference in New Issue
Block a user