Skip to content

Commit

Permalink
Merge pull request #9 from OctopusET/master
Browse files Browse the repository at this point in the history
archlinux supports updates
  • Loading branch information
chaeya committed Jan 17, 2020
2 parents ac195be + e150432 commit 4c96391
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 8 deletions.
51 changes: 51 additions & 0 deletions archlinux/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
pkgbase = nimf
pkgdesc = Nimf is an input method framework.
pkgver = 1.1
pkgrel = 2
url = https://github.com/hamonikr/nimf
arch = any
license = LGPL3
makedepends = binutils
makedepends = autoconf
makedepends = automake
makedepends = gcc
makedepends = make
makedepends = glib2
makedepends = intltool
makedepends = gtk3
makedepends = gtk2
makedepends = qt4
makedepends = qt5-base
makedepends = libappindicator-gtk3
makedepends = librsvg
makedepends = noto-fonts-cjk
makedepends = libhangul
makedepends = anthy
makedepends = librime
makedepends = libxkbcommon
makedepends = wayland
makedepends = libxklavier
makedepends = m17n-lib
makedepends = m17n-db
makedepends = gtk-doc
depends = glib2
depends = gtk3
depends = gtk2
depends = qt4
depends = qt5-base
depends = libappindicator-gtk3
depends = libhangul
depends = anthy
depends = librime
depends = libxkbcommon
depends = wayland
depends = libxklavier
depends = m17n-lib
depends = m17n-db
optdepends = brise: Rime schema repository
optdepends = noto-fonts-cjk: Google Noto CJK fonts
source = https://github.com/hamonikr/nimf/archive/1.1.tar.gz
md5sums = d1141369686a3dd2924474f70525a92f

pkgname = nimf

Binary file added archlinux/1.1.tar.gz
Binary file not shown.
16 changes: 8 additions & 8 deletions archlinux/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
# this PKGBUILD file is in the public domain.

pkgname=nimf
pkgver=master
pkgrel=1
pkgver=1.1
pkgrel=2
pkgdesc="Nimf is an input method framework."
arch=('any')
url="https://gitlab.com/nimf-i18n/nimf"
url="https://github.com/hamonikr/nimf"
license=('LGPL3')
makedepends=('binutils' 'autoconf' 'automake' 'gcc' 'make' 'glib2' 'intltool'
'gtk3' 'gtk2' 'qt4' 'qt5-base' 'libappindicator-gtk3' 'librsvg'
Expand All @@ -21,21 +21,21 @@ depends=('glib2' 'gtk3' 'gtk2' 'qt4' 'qt5-base' 'libappindicator-gtk3'
'm17n-lib' 'm17n-db')
optdepends=('brise: Rime schema repository'
'noto-fonts-cjk: Google Noto CJK fonts')
source=("https://gitlab.com/nimf-i18n/nimf/-/archive/master/nimf-master.tar.bz2")
md5sums=('SKIP')
source=("https://github.com/hamonikr/nimf/archive/${pkgver}.tar.gz")
md5sums=('d1141369686a3dd2924474f70525a92f')

pkgver() {
cd "$srcdir/nimf-master"
cd "$srcdir/nimf-$pkgver"
grep AC_INIT configure.ac | grep -Po '\d{4}.\d{2}.\d{2}'
}

build() {
cd "$srcdir/nimf-master"
cd "$srcdir/nimf-$pkgver"
./autogen.sh --prefix=/usr --enable-gtk-doc
make -j 4
}

package() {
cd "$srcdir/nimf-master"
cd "$srcdir/nimf-$pkgver"
make DESTDIR="${pkgdir}/" install
}

0 comments on commit 4c96391

Please sign in to comment.