diff options
author | Rasmus Lindroth | 2021-11-02 20:17:27 +0100 |
---|---|---|
committer | Rasmus Lindroth | 2021-11-02 20:17:27 +0100 |
commit | 364ad7f81130d635961087f82a3dbf003da96640 (patch) | |
tree | bdce4a3e4d75e5746ecde42ea2cdc2d8eeecd5eb | |
download | aur-364ad7f81130d635961087f82a3dbf003da96640.tar.gz |
Same as aur/tut. Only used for collision
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9c8b1b374cbf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = tut-mastodon + pkgdesc = A TUI for Mastodon with vim inspired keys. Same as aur/tut, only for name collision. + pkgver = 0.0.37 + pkgrel = 1 + url = https://github.com/RasmusLindroth/tut + arch = any + license = MIT + makedepends = go + source = https://github.com/RasmusLindroth/tut/archive/0.0.37.tar.gz + sha256sums = bb40259ddc901e181aa009ebe68892fa4d4b8f35b03a7d907cb0eedc9121f894 + +pkgname = tut-mastodon diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b093d7e7396a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +generate.sh diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ddac1b2cad2b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Rasmus Lindroth <rasmus@lindroth.xyz> +_pkgname=tut +pkgname=tut-mastodon +pkgver=0.0.37 +pkgrel=1 +pkgdesc='A TUI for Mastodon with vim inspired keys. Same as aur/tut, only for name collision.' +arch=('any') +url="https://github.com/RasmusLindroth/$_pkgname" +license=('MIT') +makedepends=('go') +source=("https://github.com/RasmusLindroth/$_pkgname/archive/$pkgver.tar.gz") +sha256sums=('bb40259ddc901e181aa009ebe68892fa4d4b8f35b03a7d907cb0eedc9121f894') + +build() { + cd $_pkgname-$pkgver + go build \ + -gcflags "all=-trimpath=$PWD" \ + -asmflags "all=-trimpath=$PWD" \ + -ldflags "-extldflags $LDFLAGS" \ + -o $pkgname . +} + +package() { + cd $_pkgname-$pkgver + install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname +} |