summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 17efd75114f3f272ca9fd3da102fdfcd951af5f3 (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
# Maintainer: wereii <wereii+aur@wereii.cz>
# Contributor: Vladimir Cerny <blackvladimir@gmail.com>


pkgname=asco
pkgver=0.4.11
pkgrel=1
pkgdesc="A SPICE Circuit Optimizer."
arch=('i686' 'x86_64')
url="http://asco.sourceforge.net"
license=('GPL')
depends=('glibc')
source=("http://downloads.sourceforge.net/sourceforge/asco/ASCO-$pkgver.tar.gz")
sha256sums=('5b52161b4e5d1ddb61445f5be506525aaea95990e29e3043dbcbd51f2ed8fd3d')

prepare() {
  #cd "$srcdir/ASCO-$pkgver"
  # append ' -fcommon' after CFLAGS of all Makefiles
  # find . -type f -iname "Makefile" -exec sed -i "/^CFLAGS =/ s/$/ -fcommon/" {} \;
  true
}

build() {
  cd "$srcdir/ASCO-$pkgver"
  make
}

package(){
  install -D $srcdir/ASCO-$pkgver/asco "$pkgdir/usr/bin/asco"
}