summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Bøe2015-10-05 19:52:34 +0000
committerSebastian Bøe2015-10-05 19:52:34 +0000
commit917eee063058ff0dfd908badbb86b808e25ee70d (patch)
tree0607913abaa4f4cb1f9b3e87dd4b849d09a7a66c
downloadaur-917eee063058ff0dfd908badbb86b808e25ee70d.tar.gz
Initial commit.
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD29
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..8041c6614400
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = arachne-pnr-git
+ pkgdesc = Place and route tool for FPGAs
+ pkgver = 0.r103.efdb026
+ pkgrel = 1
+ url = https://github.com/cseed/arachne-pnr
+ arch = x86_64
+ arch = i686
+ license = GPL2
+ makedepends = git
+ depends = icestorm
+ provides = arachne-pnr
+ conflicts = arachne-pnr
+ source = git+https://github.com/cseed/arachne-pnr.git
+ md5sums = SKIP
+
+pkgname = arachne-pnr-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..3ef6b995bb2f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Sebastian Bøe <sebastianbooe@gmail.com>
+pkgname=arachne-pnr-git
+pkgrel=1
+pkgver=0.r103.efdb026
+pkgdesc=" Place and route tool for FPGAs"
+arch=('x86_64' 'i686')
+url="https://github.com/cseed/arachne-pnr"
+license=('GPL2')
+depends=('icestorm')
+makedepends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=('git+https://github.com/cseed/arachne-pnr.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ make ICEBOX=/usr/share/icebox
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ make ICEBOX=/usr/share/icebox DESTDIR="$pkgdir/usr" install
+}