mirror of
https://github.com/archlinux/aur.git
synced 2026-02-19 03:05:49 +01:00
init
This commit is contained in:
commit
19e4569edb
2 changed files with 40 additions and 0 deletions
12
.SRCINFO
Normal file
12
.SRCINFO
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
pkgbase = typomat
|
||||
pkgdesc = Turn your code into muscle memory
|
||||
pkgver = 0.1.3
|
||||
pkgrel = 1
|
||||
url = https://github.com/vupdivup/typomat
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = go>=1.25.4
|
||||
source = typomat-0.1.3.tar.gz::https://github.com/vupdivup/typomat/archive/v0.1.3.tar.gz
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = typomat
|
||||
28
PKGBUILD
Normal file
28
PKGBUILD
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
pkgname=typomat
|
||||
pkgver=0.1.3
|
||||
pkgrel=1
|
||||
pkgdesc="Turn your code into muscle memory"
|
||||
arch=('any')
|
||||
url="https://github.com/vupdivup/typomat"
|
||||
license=('MIT')
|
||||
depends=()
|
||||
makedepends=('go>=1.25.4')
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
export GOBIN="$srcdir/gobin"
|
||||
export GOPATH="$srcdir/gopath"
|
||||
|
||||
go install ./cmd/$pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
install -Dm755 "$srcdir/gobin/$pkgname" "$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