summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororumin2016-08-14 01:30:14 +0900
committerorumin2016-08-14 01:30:14 +0900
commitb903f9749d83436d2329366b4a7ae83671cc501a (patch)
treef2e27cb9dc2ba75285df27402d957dbd800eee28
parent7fa1f8b91ec137c9b21d8e1073353331ee6bd9a3 (diff)
downloadaur-b903f9749d83436d2329366b4a7ae83671cc501a.tar.gz
bump and fix
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD30
2 files changed, 18 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bbdd641ed4f..8b60ca7006b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Sat Jan 16 08:43:08 UTC 2016
pkgbase = mikutter-git
pkgdesc = a moest twitter client (Upstream version)
- pkgver = 3.3.3.r0.gf076d48
- pkgrel = 2
+ pkgver = 3.4.2.r0.gdf0a70c
+ pkgrel = 1
url = http://mikutter.hachune.net/
arch = i686
arch = x86_64
@@ -12,7 +10,7 @@ pkgbase = mikutter-git
depends = ruby-gtk2>=2.2.3
depends = ruby-moneta
depends = ruby-nokogiri
- depends = ruby-mini_portile0.6
+ depends = ruby-mini_portile2
depends = ruby-httpclient
depends = ruby-memoize
depends = ruby-memoist
@@ -27,7 +25,7 @@ pkgbase = mikutter-git
optdepends = libnotify: notify support
provides = mikutter
conflicts = mikutter
- source = git://toshia.dip.jp/mikutter.git
+ source = mikutter-git::git://toshia.dip.jp/mikutter.git
source = mikutter.desktop
md5sums = SKIP
md5sums = 18e28a76097af88457462b08752382df
diff --git a/PKGBUILD b/PKGBUILD
index f3604bab136..1b0fa085254 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,39 @@
-# vim:set ts=2 sw=2 et:
# Maintainer: orumin <dev@orum.in>
pkgname=mikutter-git
-_gitroot=mikutter
-pkgver=3.3.3.r0.gf076d48
-pkgrel=2
+pkgver=3.4.2.r0.gdf0a70c
+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-mini_portile0.6' 'ruby-httpclient' 'ruby-memoize' 'ruby-memoist' 'ruby-delayer-deferred' 'ruby-typed-array' 'ruby-addressable' 'ruby-oauth' 'ruby-gettext' 'ruby-pluggaloid' 'ruby-twitter-text' 'ruby-totoridipjp')
+depends=('ruby-gtk2>=2.2.3' 'ruby-moneta' 'ruby-nokogiri' 'ruby-mini_portile2' 'ruby-httpclient' 'ruby-memoize' 'ruby-memoist' 'ruby-delayer-deferred' 'ruby-typed-array' 'ruby-addressable' 'ruby-oauth' 'ruby-gettext' 'ruby-pluggaloid' 'ruby-twitter-text' 'ruby-totoridipjp')
makedepends=('git')
optdepends=('libnotify: notify support')
conflicts=('mikutter')
provides=('mikutter')
-source=(git://toshia.dip.jp/mikutter.git
- mikutter.desktop)
+source=("${pkgname}::git://toshia.dip.jp/mikutter.git"
+ 'mikutter.desktop')
md5sums=('SKIP'
'18e28a76097af88457462b08752382df')
pkgver() {
- cd "$_gitroot"
+ cd "${pkgname}"
git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
package() {
- mkdir "$pkgdir/opt"
- cp -r "$srcdir/$_gitroot" "$pkgdir/opt"
+ install -dm 755 "${pkgdir}/opt"
+ cp -pr "${srcdir}/${pkgname}" "${pkgdir}/opt/mikutter"
- mkdir -p "$pkgdir/usr/bin"
- cat <<'EOF' > "$pkgdir/usr/bin/mikutter"
+ install -dm 755 "${pkgdir}/usr/bin"
+ cat <<'EOF' > "${pkgdir}/usr/bin/mikutter"
#!/bin/sh
ruby /opt/mikutter/mikutter.rb $@
EOF
- chmod a+x "$pkgdir/usr/bin/mikutter"
+ 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
+ install -Dm 755 "${srcdir}/mikutter.desktop" "${pkgdir}/usr/share/applications/mikutter.desktop"
}
+
+# vim:set ts=2 sw=2 et: