summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexander F Rødseth2015-06-10 14:31:07 +0200
committerAlexander F Rødseth2015-06-10 14:31:07 +0200
commit96eab360dbbffa200bf25cae68c046f872afbcdd (patch)
treed020ecce1e72b4dfeaefacc236fdd98e8d0ed89c /PKGBUILD
downloadaur-96eab360dbbffa200bf25cae68c046f872afbcdd.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..14a30cf22f3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: mentallaxative <laxatives@gmail.com>
+
+pkgname=rubyroom
+pkgver=0.4
+pkgrel=3
+pkgdesc='Ruby clone of the Whiteroom full-screen text editor'
+arch=('x86_64' 'i686')
+url='http://rubyroom.rubyforge.org/'
+license=('GPL2')
+depends=('ruby-gtk2')
+makdepends=('imagemagick' 'gendesk')
+optdepends=('fortune-mod: for poetic inspiration')
+source=("git://github.com/xyproto/rubyroom.git#tag=$pkgver"
+ "http://rubyroom.rubyforge.org/rubyroom.png")
+md5sums=('SKIP'
+ '9a1fe6c9d67679c0d4dbbdf78a233cba')
+
+prepare() {
+ convert "$pkgname.png" -crop 48x48+110+80 icon.png
+ gendesk -f --pkgname="$pkgname" --pkgdesc="You, your text and yourself" \
+ --categories "Office;" --name='RubyRoom'
+}
+
+package() {
+ install -Dm755 "$pkgname/$pkgname.rb" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 icon.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ install -Dm644 "$pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+}
+
+# vim:set ts=2 sw=2 et: