summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9657689f3995d35dd9655e45e30f11a5ad8a6ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: tkirishima <tkirishima@proton.me>
pkgname=langfetch
pkgver=0.0.1
pkgrel=2
pkgdesc="A command-line tool to display the version of languages on your system"
arch=("any")
url="https://github.com/aderepas/langfetch"
license=('MIT')
depends=(
    'python>=3.10'
)

source=(
  "${pkgname}::git+$url.git"
)

sha256sums=( 'SKIP' )

package() {
  cd "${srcdir}/${pkgname}/src"
  /usr/bin/python replace.py
  install -Dm755 main.py "${pkgdir}/usr/bin/${pkgname}"
  install -Dm644 languages.json "${pkgdir}/usr/share/${pkgname}/languages.json"
}