blob: 75db690ff51d90050b5a712106d4cc426ac4728b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: dreieck
# Contributor: nem <nem at posteo dot net>
# Submitter: nem <nem at posteo dot net>
_pkgname="adms"
pkgname="${_pkgname}-git"
pkgver=2.3.7.r25.gcadf421
pkgrel=1
pkgdesc="ADMS is a codegenerator for the VERILOG-A(MS) language"
arch=(
'x86_64'
'i686'
)
url="https://github.com/qucs/${_pkgname}"
license=('GPL')
depends=('glibc')
makedepends=(
'autoconf'
'automake'
'bison'
'flex'
'git'
'perl-gd'
'perl-xml-libxml'
)
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+https://github.com/qucs/${_pkgname}")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long | sed -r 's/^release-//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
./bootstrap.sh
./configure --enable-maintainer-mode --prefix=/usr
make
}
package() {
cd "${srcdir}/${_pkgname}"
make DESTDIR="${pkgdir}" install
}
|