summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD8
-rw-r--r--gtkmmorse.install11
3 files changed, 7 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 25131b982d9..402d8326aba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,18 @@
pkgbase = gtkmmorse
pkgdesc = GUI Morse code tutor (based on ALDO) - Koch & Classic training modes.
pkgver = 0.9.28
- pkgrel = 1
+ pkgrel = 2
url = http://gtkmmorse.nongnu.org/
- install = gtkmmorse.install
arch = i686
arch = x86_64
license = GPL
makedepends = autoconf
makedepends = automake
- makedepends = gcc
+ makedepends = pkg-config
depends = libao
depends = gtkmm
depends = gconfmm
- depends = desktop-file-utils
+ depends = hamradio-menus
source = gtkmmorse::git://git.sv.gnu.org/gtkmmorse.git
source = gtkmmorse.desktop
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 355feb5d128..88aea38d6e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,14 +5,13 @@
pkgname=gtkmmorse
pkgver=0.9.28
#.r6.ge857be9
-pkgrel=1
+pkgrel=2
pkgdesc="GUI Morse code tutor (based on ALDO) - Koch & Classic training modes."
arch=('i686' 'x86_64')
url="http://gtkmmorse.nongnu.org/"
license=('GPL')
-depends=('libao' 'gtkmm' 'gconfmm' 'desktop-file-utils')
-makedepends=('autoconf' 'automake' 'gcc')
-install=$pkgname.install
+depends=('libao' 'gtkmm' 'gconfmm' 'hamradio-menus')
+makedepends=('autoconf' 'automake' 'pkg-config')
source=("$pkgname::git://git.sv.gnu.org/$pkgname.git"
$pkgname.desktop)
@@ -28,6 +27,7 @@ prepare() {
build() {
cd $srcdir/$pkgname
+ CXXFLAGS+=' -std=c++11'
./autogen.sh
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
diff --git a/gtkmmorse.install b/gtkmmorse.install
deleted file mode 100644
index 2eaa60550d5..00000000000
--- a/gtkmmorse.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}