summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornot_anonymous2015-07-05 18:03:07 -0600
committernot_anonymous2015-07-05 18:03:07 -0600
commitb3d677e7a70932da559569e91d38b89bda6f7485 (patch)
treee751aeacb578a2301fb0b46473ce933dd6cf9ce3
downloadaur-b3d677e7a70932da559569e91d38b89bda6f7485.tar.gz
Initial import
-rw-r--r--.SRCINFO33
-rw-r--r--PKGBUILD47
-rw-r--r--cqrlog.install11
3 files changed, 91 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8645f3485d9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,33 @@
+pkgbase = cqrlog-source
+ pkgdesc = An advanced ham radio logger using MariaDB - SOURCE version.
+ pkgver = 1.9.0
+ pkgrel = 1
+ url = http://www.cqrlog.com
+ install = cqrlog.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = lazarus
+ depends = xdg-utils
+ depends = desktop-file-utils
+ depends = gtk2
+ depends = mariadb
+ optdepends = winkeydaemon: usb cw xmit
+ optdepends = cwdaemon: transmitting cw
+ optdepends = masterscp: supercheckpartial files
+ optdepends = cty: country files
+ optdepends = bigcty: contest version country files
+ optdepends = hamlibs: rig control
+ optdepends = trustedqsl: upload logs
+ optdepends = hamradio-menus: XDG compliant menuing
+ optdepends = xplanet: gui location
+ optdepends = glabels: print qsl labels
+ provides = cqrlog
+ conflicts = cqrlog
+ conflicts = cqrlog-git
+ source = https://github.com/ok2cqr/cqrlog/archive/v1.9.0.tar.gz
+ md5sums = ad6bbc72b94baafbe0a681c0b86b85d4
+ sha256sums = 2f5beef08e109648812e98449ad093a9d6555e3abc72881be2f977e9a1a23850
+
+pkgname = cqrlog-source
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..96319bf09ee
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: not_anonymous <nmlibertarian@gmail.com>
+
+pkgname=cqrlog-source
+_pkgname=cqrlog
+_authorname=ok2cqr
+pkgver=1.9.0
+pkgrel=1
+pkgdesc="An advanced ham radio logger using MariaDB - SOURCE version."
+arch=('i686' 'x86_64')
+url="http://www.cqrlog.com"
+license=('GPL')
+depends=('xdg-utils'
+ 'desktop-file-utils'
+ 'gtk2'
+ 'mariadb')
+makedepends=('lazarus')
+optdepends=('winkeydaemon: usb cw xmit'
+ 'cwdaemon: transmitting cw'
+ 'masterscp: supercheckpartial files'
+ 'cty: country files'
+ 'bigcty: contest version country files'
+ 'hamlibs: rig control'
+ 'trustedqsl: upload logs'
+ 'hamradio-menus: XDG compliant menuing'
+ 'xplanet: gui location'
+ 'glabels: print qsl labels')
+provides=('cqrlog')
+conflicts=('cqrlog' 'cqrlog-git')
+install=${_pkgname}.install
+source=(https://github.com/${_authorname}/${_pkgname}/archive/v${pkgver}.tar.gz)
+
+prepare() {
+ cd "$srcdir/${_pkgname}-$pkgver"
+ sed -i 's/--ws=gtk2 src/--lazarusdir=\/usr\/lib\/lazarus --ws=gtk2 src/g' Makefile
+}
+
+build() {
+ cd "$srcdir/${_pkgname}-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/${_pkgname}-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+md5sums=('ad6bbc72b94baafbe0a681c0b86b85d4')
+sha256sums=('2f5beef08e109648812e98449ad093a9d6555e3abc72881be2f977e9a1a23850')
diff --git a/cqrlog.install b/cqrlog.install
new file mode 100644
index 00000000000..2eaa60550d5
--- /dev/null
+++ b/cqrlog.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}