aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 95c9f2d4ffe36abdc12710d4fc0d5a7f3d459265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname="popstar"
pkgver="1.0.0"
pkgrel="1"
pkgdesc="An AUR helper with a TUI!"
arch=("x86_64")
url="https://github.com/LiterallyKirby/Popstar"
license=("custom")
depends=("go" "git" "base-devel")
makedepends=("go" "git")
source=("git+https://github.com/LiterallyKirby/Popstar.git")
sha256sums=("SKIP") # Use 'SKIP' for VCS packages, or verify manually if needed.

build() {
    cd "$srcdir/Popstar"
    go build -o popstar
}

package() {
    cd "$srcdir/Popstar"
    install -Dm755 popstar "$pkgdir/usr/bin/popstar"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}