summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornot_anonymous2015-07-05 18:08:39 -0600
committernot_anonymous2015-07-05 18:08:39 -0600
commit2afde448aa28cce7f29f5ba9d90ac6f5fff050a1 (patch)
treebe42d004cc55d3e4d42ef1e668cdc8b43df7978e
downloadaur-2afde448aa28cce7f29f5ba9d90ac6f5fff050a1.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rw-r--r--HamRadio.directory4
-rw-r--r--PKGBUILD35
-rw-r--r--hamradio-menus.install11
-rw-r--r--hamradio.menu13
-rw-r--r--hamradio.pngbin0 -> 315 bytes
6 files changed, 84 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..0aef163a8cc5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = hamradio-menus
+ pkgdesc = Ham radio (specific) XDG-compliant menu
+ pkgver = 1.0
+ pkgrel = 2
+ url = http://www.archlinux.org/
+ install = hamradio-menus.install
+ arch = any
+ license = GPL
+ depends = desktop-file-utils
+ source = hamradio.png
+ source = HamRadio.directory
+ source = hamradio.menu
+ md5sums = b24ce93a15cca693efa662ab90ae0fda
+ md5sums = 7c81ee375134d8e5ab7bfbbfd69098f7
+ md5sums = 8ae4d78b8bacf823eecf81f064e43c91
+ sha256sums = e55aabbf91ad110672d87290582705a55c6a52bb5b487c7bd195f5e18cc550b3
+ sha256sums = 4bcaaa1ca3f7e0d31aac3cf51399f0a1c6ac0c1192231e8311f00cf688ad977a
+ sha256sums = d9a8c97b934e19e0c3a7be03664eb892390dc5f978180f7b924a30a481ec66e2
+
+pkgname = hamradio-menus
+
diff --git a/HamRadio.directory b/HamRadio.directory
new file mode 100644
index 000000000000..d67d23b63510
--- /dev/null
+++ b/HamRadio.directory
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Name=HamRadio
+Icon=/usr/share/pixmaps/hamradio/hamradio.png
+Type=Directory
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..6281090aebc9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: not_anonymous <nmlibertarian@gmail.com>
+# Original Contributor: Bob Finch <w9ya@qrparci.net>
+
+pkgname=hamradio-menus
+pkgver=1.0
+pkgrel=2
+pkgdesc="Ham radio (specific) XDG-compliant menu"
+arch=('any')
+url="http://www.archlinux.org/"
+license=(GPL)
+depends=('desktop-file-utils')
+install=$pkgname.install
+source=(hamradio.png
+ HamRadio.directory
+ hamradio.menu)
+
+package() {
+ cd $srcdir
+
+ mkdir -p $pkgdir/usr/share/desktop-directories
+ mkdir -p $pkgdir/usr/share/pixmaps/hamradio
+ mkdir -p $pkgdir/etc/xdg/menus/applications-merged
+ mkdir -p $pkgdir/etc/xdg/menus/kde-applications-merged
+
+ install -m644 *.directory $pkgdir/usr/share/desktop-directories/
+ install -m644 *.png $pkgdir/usr/share/pixmaps/hamradio
+ install -m644 *.menu $pkgdir/etc/xdg/menus/applications-merged/
+ install -m644 *.menu $pkgdir/etc/xdg/menus/kde-applications-merged/
+}
+md5sums=('b24ce93a15cca693efa662ab90ae0fda'
+ '7c81ee375134d8e5ab7bfbbfd69098f7'
+ '8ae4d78b8bacf823eecf81f064e43c91')
+sha256sums=('e55aabbf91ad110672d87290582705a55c6a52bb5b487c7bd195f5e18cc550b3'
+ '4bcaaa1ca3f7e0d31aac3cf51399f0a1c6ac0c1192231e8311f00cf688ad977a'
+ 'd9a8c97b934e19e0c3a7be03664eb892390dc5f978180f7b924a30a481ec66e2')
diff --git a/hamradio-menus.install b/hamradio-menus.install
new file mode 100644
index 000000000000..2eaa60550d51
--- /dev/null
+++ b/hamradio-menus.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
diff --git a/hamradio.menu b/hamradio.menu
new file mode 100644
index 000000000000..55729734a9bc
--- /dev/null
+++ b/hamradio.menu
@@ -0,0 +1,13 @@
+ <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+ "http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
+ <Menu>
+ <Name>Applications</Name>
+ <Menu>
+ <Name>HamRadio</Name>
+ <Directory>HamRadio.directory</Directory>
+ <Include>
+ <Category>HamRadio</Category>
+ </Include>
+
+ </Menu>
+ </Menu>
diff --git a/hamradio.png b/hamradio.png
new file mode 100644
index 000000000000..0a5b0b4b6495
--- /dev/null
+++ b/hamradio.png
Binary files differ