summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5020e7849c572225d69c0a3fed42238b34b9eb71 (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
36
37
38
# Maintainer: Zoey Sheffield <me at zoey dot fyi>
# Contributor: Hoàng Văn Khải <hvksmr1996@gmail.com>

pkgname='boop-gtk-bin'
pkgver='1.6.0'
pkgrel='2'
pkgdesc="A scriptable scratchpad for developers."
arch=('x86_64')
conflicts=('boop-gtk')
provides=('boop-gtk=1.6.0')
url='https://github.com/zoeyfyi/Boop-GTK'
license=('MIT')
depends=(
  'gtksourceview3'
  'gtk3'
)
source=(
  "boop-gtk.$pkgver::$url/releases/download/v$pkgver/boop-gtk.linux.amd64"
  "boop-gtk.$pkgver.desktop::$url/raw/v$pkgver/data/fyi.zoey.Boop-GTK.desktop"
  "boop-gtk.$pkgver.svg::$url/raw/v$pkgver/data/fyi.zoey.Boop-GTK.svg"
  "README.$pkgver.md::$url/raw/v$pkgver/README.md"
  "LICENSE.$pkgver::$url/raw/v$pkgver/LICENSE"
)
sha512sums=(
  'SKIP'
  'SKIP'
  'SKIP'
  'SKIP'
  'SKIP'
)

package() {
  install -Dm755 "boop-gtk.$pkgver" "$pkgdir/usr/bin/boop-gtk"
  install -Dm644 "boop-gtk.$pkgver.desktop" "$pkgdir/usr/share/applications/fyi.zoey.Boop-GTK.desktop"
  install -Dm644 "boop-gtk.$pkgver.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/fyi.zoey.Boop-GTK.svg"
  install -Dm644 "README.$pkgver.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
  install -Dm644 "LICENSE.$pkgver" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}