mirror of
https://github.com/archlinux/aur.git
synced 2026-02-12 19:11:17 +01:00
Initial upload: instagram-cli 1.4.0-1
This commit is contained in:
commit
fc7ee74cb1
2 changed files with 40 additions and 0 deletions
12
.SRCINFO
Normal file
12
.SRCINFO
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
pkgbase = instagram-cli
|
||||
pkgdesc = Instagram's terminal UI app - The ultimate weapon against brainrot
|
||||
pkgver = 1.4.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/supreme-gg-gg/instagram-cli
|
||||
arch = any
|
||||
license = MIT
|
||||
depends = node>=20
|
||||
source = https://registry.npmjs.org/@i7m/instagram-cli/-/instagram-cli-1.4.0.tgz
|
||||
sha256sums = e38b98ab331de279459b7245630c785f91ad5c32c683ac1eccb9bca6f2884b1a
|
||||
|
||||
pkgname = instagram-cli
|
||||
28
PKGBUILD
Normal file
28
PKGBUILD
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
pkgname=instagram-cli
|
||||
pkgver=1.4.0
|
||||
pkgrel=1
|
||||
pkgdesc="Instagram's terminal UI app - The ultimate weapon against brainrot"
|
||||
arch=('any')
|
||||
url="https://github.com/supreme-gg-gg/instagram-cli"
|
||||
license=('MIT')
|
||||
depends=('node>=20')
|
||||
source=('https://registry.npmjs.org/@i7m/instagram-cli/-/instagram-cli-1.4.0.tgz')
|
||||
sha256sums=('e38b98ab331de279459b7245630c785f91ad5c32c683ac1eccb9bca6f2884b1a')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/package"
|
||||
npm install
|
||||
}
|
||||
|
||||
package() {
|
||||
install -d "$pkgdir/usr/lib/$pkgname"
|
||||
mv "$srcdir/package/"* "$pkgdir/usr/lib/$pkgname/"
|
||||
|
||||
cd "$pkgdir/usr/lib/$pkgname"
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
|
||||
ln -s "/usr/lib/$pkgname/dist/cli.js" "$pkgdir/usr/bin/$pkgname"
|
||||
|
||||
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue