summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bd50e9263e48d0150b0428a90852f7fb7f277929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Maintainer: dreamscached <dreamscache.d@gmail.com>
_pkgname=repomix
pkgname=$_pkgname
pkgdesc="Repomix (formerly Repopack) is a powerful tool that packs your entire repository into a single, AI-friendly file."
pkgver=0.3.5
pkgrel=1
license=("MIT")
arch=(any)
makedepends=(npm)
source=("https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz")
noextract=("${_pkgname}-${pkgver}.tgz")
sha256sums=(59572010f92af2cf03abb553e6e58754bf5f64cbf45c9ee2f304581dff0de3f9)

package() {
    npm install -g --omit=dev --cache "$srcdir/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$_pkgname-$pkgver.tgz"
    install -Dm644 "$pkgdir/usr/lib/node_modules/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}