summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatol Pomozov2015-06-17 08:43:27 -0700
committerAnatol Pomozov2015-06-17 08:43:27 -0700
commita06cb02f3ee8921d32719f4eb6c4bc064699aab7 (patch)
tree055a3ec5574d1aa73f02fbec25f1fd1c75d40b6c
downloadaur-a06cb02f3ee8921d32719f4eb6c4bc064699aab7.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD33
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a7df0f70a9d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = adms-git
+ pkgdesc = ADMS is a codegenerator for the VERILOG-A(MS) language
+ pkgver = 2.3.4.r29.g9c5bd52
+ pkgrel = 1
+ url = https://github.com/qucs/adms
+ arch = x86_64
+ arch = i686
+ license = GPL
+ makedepends = git
+ makedepends = autoconf
+ makedepends = automake
+ makedepends = flex
+ makedepends = bison
+ makedepends = perl-gd
+ makedepends = perl-xml-libxml
+ depends = glibc
+ options = !makeflags
+ source = git+https://github.com/qucs/adms
+ md5sums = SKIP
+
+pkgname = adms-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4d78e4f390f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: nem <nem at posteo dot net>
+# Submitter: nem <nem at posteo dot net>
+
+pkgname=adms-git
+pkgver=2.3.4.r29.g9c5bd52
+pkgrel=1
+pkgdesc="ADMS is a codegenerator for the VERILOG-A(MS) language"
+arch=('x86_64' 'i686')
+url="https://github.com/qucs/adms"
+license=('GPL')
+depends=('glibc')
+makedepends=('git' 'autoconf' 'automake' 'flex' 'bison' 'perl-gd' 'perl-xml-libxml')
+options=(!makeflags)
+source=(git+https://github.com/qucs/adms)
+md5sums=('SKIP')
+
+pkgver() {
+ cd adms
+ git describe --long | sed -r 's/^release-//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd adms
+ ./bootstrap.sh
+ ./configure --enable-maintainer-mode --prefix=/usr
+ make
+}
+
+package() {
+ cd adms
+ make DESTDIR="$pkgdir" install
+
+}