summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororumin2015-10-21 18:26:18 +0900
committerorumin2015-10-21 18:26:18 +0900
commitd0114bc16e11e85bfd26cf1938d237b75fdfe99a (patch)
treeb9b7baf922a5580c7164afb9afe630ba1cd08a04
downloadaur-d0114bc16e11e85bfd26cf1938d237b75fdfe99a.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD40
-rwxr-xr-xmikutter.desktop8
3 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..854eb9ef182
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = mikutter-git
+ pkgdesc = a moest twitter client (Upstream version)
+ pkgver = 3.2.9.r0.g29ba42d
+ pkgrel = 1
+ url = http://mikutter.hachune.net/
+ arch = i686
+ arch = x86_64
+ license = MIT
+ depends = ruby-gtk2>=2.2.3
+ depends = ruby-moneta
+ depends = ruby-nokogiri
+ depends = ruby-httpclient
+ optdepends = libnotify: notify support
+ provides = mikutter
+ conflicts = mikutter
+ source = git://toshia.dip.jp/mikutter.git
+ source = mikutter.desktop
+ md5sums = SKIP
+ md5sums = 18e28a76097af88457462b08752382df
+
+pkgname = mikutter-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0507dd3761a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# vim:set ts=2 sw=2 et:
+# Maintainer: orumin <dev@orum.in>
+
+pkgname=mikutter-git
+_gitroot=mikutter
+pkgver=3.2.9.r0.g29ba42d
+pkgrel=1
+pkgdesc="a moest twitter client (Upstream version)"
+arch=('i686' 'x86_64')
+url="http://mikutter.hachune.net/"
+license=('MIT')
+depends=('ruby-gtk2>=2.2.3' 'ruby-moneta' 'ruby-nokogiri' 'ruby-httpclient')
+optdepends=('libnotify: notify support')
+conflicts=('mikutter')
+provides=('mikutter')
+source=(git://toshia.dip.jp/mikutter.git
+ mikutter.desktop)
+md5sums=('SKIP'
+ '18e28a76097af88457462b08752382df')
+
+pkgver() {
+ cd "$_gitroot"
+ git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+package() {
+ mkdir "$_gitroot/opt"
+ cp -r "$srcdir/$_gitroot" "$pkgdir/opt"
+
+ mkdir -p "$pkgdir/usr/bin"
+ cat <<'EOF' > "$pkgdir/usr/bin/mikutter"
+#!/bin/sh
+ruby /opt/mikutter/mikutter.rb $@
+EOF
+ chmod a+x "$pkgdir/usr/bin/mikutter"
+
+ mkdir -p $pkgdir/usr/share/applications
+ cp "$srcdir/mikutter.desktop" "$pkgdir/usr/share/applications"
+ chmod +x $pkgdir/usr/share/applications/mikutter.desktop
+}
diff --git a/mikutter.desktop b/mikutter.desktop
new file mode 100755
index 00000000000..88f97be3374
--- /dev/null
+++ b/mikutter.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=mikutter
+Type=Application
+Categories=Network
+GenericName=mikutter
+Icon=/opt/mikutter/core/skin/data/icon.png
+Exec=/usr/bin/ruby /opt/mikutter/mikutter.rb
+Terminal=false