-
Notifications
You must be signed in to change notification settings - Fork 1
/
PKGBUILD
49 lines (45 loc) · 1.34 KB
/
PKGBUILD
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
39
40
41
42
43
44
45
46
47
48
49
# Maintainer: g1eny0ung <g1eny0ung@gmail.com>
# Maintainer: rapiz <contact@rapiz.me>
# Maintainer: lxs137 <lxs137@hotmail.com>
pkgname=petal-bin
pkgver=2.25.0
pkgrel=1
epoch=
pkgdesc="A Douban.FM Client With Extra"
arch=('x86_64')
url="https://ilime.github.io/Petal/"
license=('MIT')
groups=()
depends=('gtk3' 'nss' 'libxss')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/ilime/Petal/releases/download/v$pkgver/Petal-$pkgver.tar.gz"
'https://raw.githubusercontent.com/ilime/Petal/dev/LICENSE'
'petal.svg'
'Petal.desktop'
'petal.sh'
)
noextract=()
validpgpkeys=()
md5sums=('20e8d9ed1311010c3d460fd443db2cef'
'cebd0dda9b913e6254f5e09a257955bb'
'e3da3170012174fea78d060f9f77f0e5'
'e946f427355b1a85454b74e7ca918072'
'5c3aace4646132860b8084cbbb55ad55')
package() {
mkdir -p "$pkgdir/usr/lib"
cp -r "$srcdir/Petal-$pkgver" "$pkgdir/usr/lib/petal"
install -Dm755 "$srcdir/petal.sh" "$pkgdir/usr/bin/petal"
install -Dm644 "$srcdir/Petal.desktop" -t "$pkgdir/usr/share/applications/"
ICON="$srcdir/petal.svg"
install -Dm644 "$ICON" "$pkgdir/usr/share/icons/hicolor/scalable/apps/petal.svg"
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/petal/LICENSE"
}