blob: 4a417fc18f98c3d014d1367d03edb96282b42d00 (
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
|
# Maintainer: nebk <nebk2010@gmail.com>
pkgname=gaw-xschem-git
pkgver=r34.854bee4
pkgrel=1
pkgdesc="Gtk analog waveform viewer with patches to improve xschem support"
arch=('x86_64')
url="https://github.com/StefanSchippers/xschem-gaw"
license=('GPL')
depends=('gtk3' 'alsa-lib' 'gettext')
makedepends=('git' 'automake' 'autoconf' 'sed')
provides=('gaw')
conflicts=('gaw' 'gaw3')
source=("${pkgname%-git}::git+https://github.com/StefanSchippers/xschem-gaw.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}"
aclocal && automake --add-missing && autoconf
sed -i -E '/(^GETTEXT_MACRO_VERSION) =/{s/=.+/= 0.20/g}' po/Makefile.in.in
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir/" install
}
|