summaryrefslogtreecommitdiff
path: root/pcr/trellis/PKGBUILD
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-01-29 01:02:20 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-01-29 11:59:04 +0100
commite0d5d4f1c967d9908b1b72a5a6172cde17c31354 (patch)
tree2b8afec09ea5ad3a35f47139a3f51e8bf349ee65 /pcr/trellis/PKGBUILD
parent3bcef07524e628071ad77971fb3c3b54b70e781e (diff)
downloadabslibre-e0d5d4f1c967d9908b1b72a5a6172cde17c31354.tar.gz
abslibre-e0d5d4f1c967d9908b1b72a5a6172cde17c31354.tar.bz2
abslibre-e0d5d4f1c967d9908b1b72a5a6172cde17c31354.zip
pcr: symbiflow: sync with Aur
After syncing with Aur, I also run makepkg to make makepkg update the pkgver in the PKGBUILD. This should ensure that the PKGBUILD doesn't need to be modified at build time by libremakepkg. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/trellis/PKGBUILD')
-rw-r--r--pcr/trellis/PKGBUILD45
1 files changed, 0 insertions, 45 deletions
diff --git a/pcr/trellis/PKGBUILD b/pcr/trellis/PKGBUILD
deleted file mode 100644
index 16eb6d30f..000000000
--- a/pcr/trellis/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# Maintainer (AUR): Graham Edgecombe <gpe@grahamedgecombe.com>
-# Maintainer: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-# parabola changes and rationale:
-# no changes.
-
-pkgname=trellis
-pkgver=1.0
-_databasever=d0b219af41ae3da6150645fbc5cc5613b530603f
-pkgrel=1
-pkgdesc='Tools and scripts which allow you to document the bit-stream format of Lattice ECP5 series FPGAs'
-arch=('i686' 'x86_64')
-url='https://github.com/SymbiFlow/prjtrellis'
-license=('custom:ISC')
-depends=('boost-libs' 'python')
-makedepends=('cmake' 'rsync' 'boost')
-source=("https://github.com/SymbiFlow/prjtrellis/archive/$pkgver.tar.gz"
- "https://github.com/SymbiFlow/prjtrellis-db/archive/$_databasever.tar.gz")
-sha256sums=('6cfa12b7bf1ad5aed2b711fdfdd5ade6a2047f4733a704cb0b04634d350a4e26'
- '1f1b71741e8b70af777561a1422be8a01992ea46b363da24b7b97e41fa0fa5c5')
-
-prepare() {
- cd "$srcdir/prjtrellis-$pkgver"
- rsync -a --exclude='.*' "$srcdir/prjtrellis-db-$_databasever/" database/
-}
-
-build() {
- cd "$srcdir/prjtrellis-$pkgver/libtrellis"
- cmake -DCMAKE_INSTALL_PREFIX=/usr .
- make
-}
-
-check() {
- cd "$srcdir/prjtrellis-$pkgver/libtrellis/tests"
- ./run_all.sh
-}
-
-package() {
- cd "$srcdir/prjtrellis-$pkgver/libtrellis"
- make DESTDIR="$pkgdir" install
- mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib"
- install -Dm644 "$srcdir/prjtrellis-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-
- # used by the examples to convert the bitstreams to SVF files for programming
- install -D "$srcdir/prjtrellis-$pkgver/tools/bit_to_svf.py" "$pkgdir/usr/share/trellis/tools/bit_to_svf.py"
-}