blob: e3b5ad2d9f538355e33dd965948c04f59c6662c4 (
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
|
#Maintainer: zebdo <zebdo [at] posteo [dot] ee>
pkgname=flipflip-bin
pkgver=3.2.2
pkgrel=1
pkgdesc="The latest pre-compiled package from the official GitHub page - a glorified slideshow, with lots of bells and whistles"
url="https://github.com/ififfy/flipflip"
arch=('x86_64')
makedepends=('wget' 'unzip')
license=('MIT')
source=("flipflip.sh" "flipflip.desktop"
"FlipFlip-Linux.zip::https://github.com/ififfy/flipflip/releases/download/v${pkgver}/FlipFlip-Linux.zip")
sha256sums=('456141af40b4d96c8d3fc6f5b31306e8db625fde1db48bbfa3e1f44e7cc8895f'
'a8b776757171dc59876c9f0e938328beff3ab7c8f12dc38cde8caa063ddc3038'
'2151a0495fd859b3a79caa3d8c53c32ee9a210352e722ede7ffa56480e170923')
package() {
# extract zip file
unzip FlipFlip-Linux.zip
# install license
cd "${srcdir}/FlipFlip-linux-x64"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
# move package into its resting place
cd ${srcdir}
cp -r FlipFlip-linux-x64 $pkgdir/usr/share/flipflip
rm -fr FlipFlip-linux-x64
# fix permissions
chmod 755 $pkgdir/usr/share/flipflip
# install .desktop file and bash launch script
install -Dm644 "flipflip.desktop" "$pkgdir/usr/share/applications/flipflip.desktop"
install -Dm755 "flipflip.sh" "$pkgdir/usr/bin/flipflip"
}
|