blob: 60e2d5d6a26973324af86b248a8dc2a1ecbd362b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Dusan Borovcanin <borovcanindusan1@gmail.com>
# The binary the Release workflow builds for a v* tag, repackaged.
#
# pkgver and sha256sums are rewritten by scripts/aur-publish.sh when a tag is
# released, so the copy in the repository always describes a real release.
pkgname=slate-bin
_pkgname=slate
pkgver=0.3.0
pkgrel=1
pkgdesc="Minimal, keyboard-first terminal note-taking scratchpad (prebuilt binary)"
# The Release workflow publishes one Linux binary, and it is x86-64.
arch=('x86_64')
url="https://github.com/dborovcanin/slate"
license=('custom')
# What readelf -d records: libgcc_s, libm and libc.
depends=('glibc' 'libgcc')
options=('!debug')
conflicts=('slate' 'slate-git')
# The tag archive comes along for the desktop entry, the icon and the README:
# the release asset is the binary on its own.
source=("$_pkgname-$pkgver-linux-x86_64::$url/releases/download/v$pkgver/slate-linux-x86_64"
"$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('480375acefb279183146d65f2cf3c6fb03311618ee9636b6c0bed72cdaa37f7a'
'ba7ce5b1caa0513dcd9d1025b2efc922bb670a3bf4f17c7b4c17643275e9b5fe')
package() {
install -Dm755 "$srcdir/$_pkgname-$pkgver-linux-x86_64" "$pkgdir/usr/bin/$_pkgname"
cd "$_pkgname-$pkgver"
install -Dm644 slate.desktop "$pkgdir/usr/share/applications/slate.desktop"
install -Dm644 slate.png "$pkgdir/usr/share/pixmaps/slate.png"
install -Dm644 README.md "$pkgdir/usr/share/doc/$_pkgname/README.md"
}
|