[arch-commits] Commit in skktools/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Aug 17 06:56:25 UTC 2018


    Date: Friday, August 17, 2018 @ 06:56:25
  Author: felixonmars
Revision: 372164

upgpkg: skktools 1.3.4-1

Modified:
  skktools/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-17 06:56:10 UTC (rev 372163)
+++ PKGBUILD	2018-08-17 06:56:25 UTC (rev 372164)
@@ -3,8 +3,8 @@
 # Contributor: noonov <noonov at gmail.com>
 
 pkgname=skktools
-pkgver=1.3.3
-pkgrel=4
+pkgver=1.3.4
+pkgrel=1
 pkgdesc="Dictionary maintenance tools for the SKK Japanese input method"
 arch=('x86_64')
 url="http://openlab.ring.gr.jp/skk/"
@@ -12,10 +12,14 @@
 depends=('gdbm' 'glib2')
 optdepends=('ruby' 'python2' 'perl')
 source=(http://openlab.ring.gr.jp/skk/tools/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('2a7f9543017fbb7447d38725e5cbfeccdbb39dcd93020f1691443ebd42cdf3aec017492fe164c2b8589b664b22e570a893990d09c8df62298b2f2d4428e821e3')
+sha512sums=('8749dfc4f18474db860d8b7cd85fadfc00327b199addb31a339aa78dd66cb98032429664bdad4b47176b5b64b156b7264bc35a284861f6b9ec8cc9979d4d5ce1')
 
+prepare() {
+  mv skktools-skktools-1_3_4 $pkgname-$pkgver
+}
+
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
 
   ./configure --prefix=/usr --with-gdbm
   make
@@ -24,14 +28,14 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
 
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 
-  install -d "${pkgdir}/usr/share/skktools"
-  cp -a -t "${pkgdir}/usr/share/skktools" \
+  install -d "$pkgdir"/usr/share/skktools
+  cp -a -t "$pkgdir"/usr/share/skktools \
     convert2skk dbm filters \
     saihenkan.rb skk2cdb.py skkdic-diff.scm unannotation.awk
 
-  install -D -m644 skk-xml.el "${pkgdir}/usr/share/emacs/site-lisp/skk-xml.el"
+  install -D -m644 skk-xml.el "$pkgdir"/usr/share/emacs/site-lisp/skk-xml.el
 }



More information about the arch-commits mailing list