summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrobot Viktor2019-09-10 20:29:21 +0300
committerDrobot Viktor2019-09-10 20:29:21 +0300
commitbf0f4189984bf1a28316e548f312b84418d61cfb (patch)
treeeae835022dcb268bfbfb152533348a4c56208159
parent797bdcaac8d98eaaa25337e2f85f0b37873f1066 (diff)
downloadaur-bf0f4189984bf1a28316e548f312b84418d61cfb.tar.gz
Fixed PKGBUILD
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD29
2 files changed, 28 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 172d0eee842..aeedba4c186 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,22 @@
pkgbase = suscan-git
pkgdesc = SUScan is a graphical signal analysis tool
- pkgver = 0.1
+ pkgver = r461.cb0c650
pkgrel = 1
url = https://github.com/BatchDrake/suscan
arch = any
license = GPL
+ makedepends = git
+ makedepends = autoconf
+ makedepends = automake
+ makedepends = libtool
depends = soapysdr
- depends = sigutils-git
+ depends = sigutils
+ depends = fftw
+ depends = libsndfile
+ depends = libxml2
provides = suscan
conflicts = suscan
- source = suscan::git+https://github.com/BatchDrake/suscan.git
+ source = suscan-git::git+https://github.com/BatchDrake/suscan.git
md5sums = SKIP
pkgname = suscan-git
diff --git a/PKGBUILD b/PKGBUILD
index 8a121010308..b4c102a3bf7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,36 @@
-# Maintainer: Julio Diez <juliosddr@gmail.com>
-_pkgname=suscan
-pkgname="${_pkgname}-git"
-pkgver=0.1
+# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
+# Contributor: Julio Diez <juliosddr@gmail.com>
+
+pkgname=suscan-git
+pkgver=r461.cb0c650
pkgrel=1
pkgdesc="SUScan is a graphical signal analysis tool"
arch=("any")
url="https://github.com/BatchDrake/suscan"
license=("GPL")
-depends=("soapysdr" "sigutils-git" "git")
+depends=("soapysdr" "sigutils" "fftw" "libsndfile" "libxml2")
+makedepends=("git" "autoconf" "automake" "libtool")
provides=("suscan")
conflicts=("suscan")
-source=(suscan::git+https://github.com/BatchDrake/suscan.git)
-md5sums=("SKIP")
+source=($pkgname::git+https://github.com/BatchDrake/suscan.git)
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
build() {
- cd "$_pkgname"
-
- autoreconf -fvi
+ cd "$pkgname"
+ ./autogen.sh
./configure --prefix=/usr
+
make
}
package() {
- cd "$_pkgname"
+ cd "$pkgname"
make DESTDIR="$pkgdir/" install
}