Add tagainijisho-git
This commit is contained in:
@@ -0,0 +1 @@
|
||||
tagainijisho/
|
||||
@@ -0,0 +1,33 @@
|
||||
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
|
||||
|
||||
_pkgname=tagainijisho
|
||||
pkgname=${_pkgname}-git
|
||||
_pkgver=1.2.2
|
||||
pkgver=1.2.2.1986
|
||||
pkgrel=1
|
||||
pkgdesc="A free Japanese dictionary and learning assistant"
|
||||
url='https://github.com/Gnurou/tagainijisho'
|
||||
arch=('x86_64')
|
||||
provides=("$_pkgname")
|
||||
license=('GPL3')
|
||||
makedepends=('ninja' 'cmake')
|
||||
depends=('qt6-base')
|
||||
source=('git+https://github.com/Gnurou/tagainijisho.git')
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$_pkgname"
|
||||
|
||||
revs_count="$(git rev-list --count HEAD)"
|
||||
printf '%s.%s' $_pkgver "$revs_count"
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake -B build -GNinja -DCMAKE_INSTALL_PREFIX="/usr/" $_pkgname
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
export DESTDIR=$pkgdir
|
||||
cmake --install build
|
||||
}
|
||||
Reference in New Issue
Block a user