diff options
-rw-r--r-- | .SRCINFO | 38 | ||||
-rw-r--r-- | PKGBUILD | 42 | ||||
-rw-r--r-- | nimf-git.install | 15 | ||||
-rw-r--r-- | test-file | 0 |
4 files changed, 32 insertions, 63 deletions
@@ -1,51 +1,41 @@ -# Generated by mksrcinfo v8 -# Sat Jun 10 02:55:02 UTC 2017 pkgbase = nimf-git pkgdesc = Nimf is an input method framework - pkgver = 2017.01.28.aa61961 + pkgver = master pkgrel = 1 - url = https://cogniti.github.io/nimf - install = nimf-git.install + url = https://gitlab.com/hodong/nimf arch = any - groups = nimf - license = GNU LGPL v3 - makedepends = gtk2 + license = LGPL3 + makedepends = glib2 + makedepends = intltool makedepends = gtk3 + makedepends = gtk2 makedepends = qt4 makedepends = qt5-base - makedepends = intltool - makedepends = gobject-introspection - makedepends = glib2 makedepends = libappindicator-gtk3 - makedepends = git makedepends = librsvg makedepends = noto-fonts-cjk makedepends = libhangul - makedepends = sunpinyin - makedepends = sunpinyin-data makedepends = anthy makedepends = libchewing makedepends = librime - makedepends = brise + makedepends = libxkbcommon + makedepends = wayland makedepends = audit - depends = gtk2 + depends = glib2 depends = gtk3 + depends = gtk2 depends = qt4 depends = qt5-base - depends = libxkbcommon - depends = glib2 depends = libappindicator-gtk3 depends = libhangul - depends = sunpinyin - depends = sunpinyin-data depends = anthy depends = libchewing depends = librime depends = brise - conflicts = nimf - options = !buildflags - source = nimf::git+https://github.com/cogniti/nimf.git + depends = libxkbcommon + depends = wayland + depends = audit + source = https://gitlab.com/hodong/nimf/-/archive/master/nimf-master.tar.bz2 md5sums = SKIP pkgname = nimf-git - @@ -1,40 +1,34 @@ -# Maintainer: Youngbin Han <sukso96100@gmail.com> -# Submitter: Youngbin Han <sukso96100@gmail.com> -# Contributor: Changjoo Lee <icj7061@gmail.com> -# Contributor: ywen407 <ywen407@naver.com> +# Maintainer: Hodong Kim <cogniti@gmail.com> pkgname=nimf-git -_pkgname=nimf -pkgver=2017.01.28.aa61961 +pkgver=master pkgrel=1 -pkgdesc="Nimf is an input method framework" +pkgdesc="Nimf is an input method framework." arch=('any') -url="https://cogniti.github.io/${_pkgname}" -license=('GNU LGPL v3') -depends=('gtk2' 'gtk3' 'qt4' 'qt5-base' 'libxkbcommon' 'glib2' -'libappindicator-gtk3' 'libhangul' 'sunpinyin' 'sunpinyin-data' 'anthy' 'libchewing' 'librime' 'brise') -makedepends=('gtk2' 'gtk3' 'qt4' 'qt5-base' 'intltool' -'gobject-introspection' 'glib2' 'libappindicator-gtk3' 'git' 'librsvg' -'noto-fonts-cjk' 'libhangul' 'sunpinyin' 'sunpinyin-data' 'anthy' -'libchewing' 'librime' 'brise' 'audit') -conflicts=("nimf") -source=("${_pkgname}"::"git+https://github.com/cogniti/${_pkgname}.git") +url="https://gitlab.com/hodong/nimf" +license=('LGPL3') +makedepends=('glib2' 'intltool' 'gtk3' 'gtk2' 'qt4' 'qt5-base' + 'libappindicator-gtk3' 'librsvg' 'noto-fonts-cjk' 'libhangul' + 'anthy' 'libchewing' 'librime' 'libxkbcommon' 'wayland' 'audit') +depends=('glib2' 'gtk3' 'gtk2' 'qt4' 'qt5-base' 'libappindicator-gtk3' + 'libhangul' 'anthy' 'libchewing' 'librime' 'brise' 'libxkbcommon' + 'wayland' 'audit') +source=("https://gitlab.com/hodong/nimf/-/archive/master/nimf-master.tar.bz2") md5sums=('SKIP') -options=(!buildflags) -install=$pkgname.install -groups=('nimf') pkgver() { - cd "${srcdir}/${_pkgname}" - echo "$(git tag | sort -V | tail -1).$(git rev-parse --short HEAD)" + cd "$srcdir/nimf-master" + grep AC_INIT configure.ac | grep -Po '\d{4}.\d{2}.\d{2}' } build() { - cd "${srcdir}/${_pkgname}" + cd "$srcdir/nimf-master" ./autogen.sh --prefix=/usr make } + package() { - cd "${srcdir}/${_pkgname}" + cd "$srcdir/nimf-master" make DESTDIR="${pkgdir}/" install + ldconfig } diff --git a/nimf-git.install b/nimf-git.install deleted file mode 100644 index f65d50c997d9..000000000000 --- a/nimf-git.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - echo "Compiling schemas..." - /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ - echo "Running ldconfig..." - ldconfig - echo "Updating GTK icon cache..." - gtk-update-icon-cache - echo "Updating immodules cache..." - gtk-query-immodules-3.0 --update-cache - gtk-query-immodules-2.0 --update-cache -} - -post_upgrade() { - post_install $1 -} diff --git a/test-file b/test-file deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/test-file +++ /dev/null |