diff options
author | Stanislaw Grams | 2022-01-03 21:40:50 +0100 |
---|---|---|
committer | Stanislaw Grams | 2022-01-03 21:40:50 +0100 |
commit | 84817cbdca5305a617ccffdfcaf303f4042d8677 (patch) | |
tree | 72ca62fbbf367998bcfbaacb6b4f7258c85ecc3c | |
download | aur-84817cbdca5305a617ccffdfcaf303f4042d8677.tar.gz |
Initial commit for antpatt support
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..74170724bd6f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = antpatt + pkgdesc = Antenna pattern plotting and analysis software. + pkgver = 1.0.1 + pkgrel = 1 + url = https://github.com/kkonradpl/xdr-gtk + arch = x86_64 + arch = i686 + license = GPL2 + makedepends = git + makedepends = cmake + makedepends = ninja + makedepends = pkgconf + makedepends = gtk2 + makedepends = json-c + makedepends = zlib + makedepends = gsl + depends = gtk2 + provides = antpatt + conflicts = antpatt + source = https://github.com/kkonradpl/antpatt/archive/refs/tags/v1.0.1.tar.gz + sha256sums = 8743c496bf3d97f78bbdc31048bbf657113ba25c46c25cbdebf9acc0958348eb + +pkgname = antpatt diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f992da0757d4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Stanislaw Grams <sjg@fmdx.pl> +pkgname=antpatt +pkgver=1.0.1 +pkgrel=1 +pkgdesc="Antenna pattern plotting and analysis software." +arch=('x86_64' 'i686') +url="https://github.com/kkonradpl/xdr-gtk" +license=('GPL2') +depends=('gtk2') +provides=('antpatt') +conflicts=('antpatt') +makedepends=('git' 'cmake' 'ninja' 'pkgconf' 'gtk2' 'json-c' 'zlib' 'gsl') +source=("https://github.com/kkonradpl/antpatt/archive/refs/tags/v1.0.1.tar.gz") +sha256sums=('8743c496bf3d97f78bbdc31048bbf657113ba25c46c25cbdebf9acc0958348eb') + +build() { + cd "$srcdir/" + tar -xvf "v$pkgver.tar.gz" + cd "$pkgname-$pkgver/build/" + cmake .. -GNinja -Wall -DCMAKE_INSTALL_PREFIX='/usr' + ninja +} + +package() { + cd "$srcdir/$pkgname-$pkgver/build/" + DESTDIR="$pkgdir" ninja install +} |