blob: 745203d5e9d5fb845c5a398dd74c11d6bf89e559 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: djazz
pkgname=ultrastardx-utility
pkgver=0.3
pkgrel=2
pkgdesc="Manage UltraStar Deluxe songs."
arch=('any')
url="https://github.com/daniel-j/usdx-linux-utility"
license=('GPL')
depends=('zenity')
optdepends=(
'ultrastardx: UltraStar Deluxe'
'imagemagick: Thumbnail generator'
)
source=("https://github.com/daniel-j/usdx-linux-utility/archive/v${pkgver}.tar.gz")
sha256sums=(
'1a94b25e67ff5a3f87faa27952065735318fd975d262d5e0825d717743be58d8'
)
#pkgver() {
# cd "$pkgname"
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
#}
package() {
cd "${srcdir}/usdx-linux-utility-${pkgver}"
install -d "$pkgdir/usr/share/${pkgname}"
install "prompt.html" "$pkgdir/usr/share/${pkgname}/prompt.html"
# applications
install -d "${pkgdir}/usr/share/applications"
install "usdx-open.desktop" "${pkgdir}/usr/share/applications/usdx-open.desktop"
# bin
install -d "${pkgdir}/usr/bin"
install "usdx-open.sh" "${pkgdir}/usr/bin/usdx-open"
install "usdx-thumbnailer.sh" "${pkgdir}/usr/bin/usdx-thumbnailer"
# mime
install -d "${pkgdir}/usr/share/mime/packages/"
install "usdx-open.mime.xml" "${pkgdir}/usr/share/mime/packages/usdx-open.xml"
# thumbnailer
install -d "${pkgdir}/usr/share/thumbnailers/"
install "usdx.thumbnailer" "${pkgdir}/usr/share/thumbnailers/usdx.thumbnailer"
# Icon
#install -d "${pkgdir}/usr/share/pixmaps"
#install "icon.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
# Register mimetypes
}
|