diff options
author | Yigit Sever | 2024-07-05 16:35:58 +0300 |
---|---|---|
committer | Yigit Sever | 2024-07-05 16:35:58 +0300 |
commit | e616862c7bef33812ea84f809a00e83fe24078c3 (patch) | |
tree | 17f65f055dffcde57e1ba1f1669c46c98c45260b /PKGBUILD | |
parent | 32a13461618e213af6e59e0ec04e1e5ffdb82122 (diff) | |
download | packages-e616862c7bef33812ea84f809a00e83fe24078c3.tar.gz packages-e616862c7bef33812ea84f809a00e83fe24078c3.tar.bz2 packages-e616862c7bef33812ea84f809a00e83fe24078c3.zip |
Remove laying around serviio
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index eca3708..0000000 --- a/PKGBUILD +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | # Contributor: lesebas | ||
3 | # Contributor: Seb Deligny | ||
4 | pkgname=serviio | ||
5 | pkgver=2.4 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="Free DLNA media server" | ||
8 | arch=('any') | ||
9 | url="http://www.serviio.org/" | ||
10 | license=('custom') | ||
11 | depends=('java-runtime-headless>=8' 'ffmpeg') | ||
12 | source=(http://download.serviio.org/releases/serviio-${pkgver}-linux.tar.gz | ||
13 | $pkgname.sh | ||
14 | $pkgname.service | ||
15 | $pkgname.desktop | ||
16 | $pkgname.png) | ||
17 | sha256sums=('b2c8b67ca6c0322cebe5e2c032783e1b6e6e8b7bfdf3308d5b3320eee2e019ab' | ||
18 | 'aacddfcde926bb7c9bbec59777b7c3ca44ef97a39258ef4033c34e83c69e9fe9' | ||
19 | '83d402a57ee31e48e70f9a8eb100468aaf1b0966974e9389fe4720e140cdc58d' | ||
20 | 'ecf69649d3a68521a4c751ba9a337143f06258228635e6d458a33271995cdec0' | ||
21 | '96f3fd953d77e5400714d9b20dc83d43ed43497afdeff43e58e273b3d3d87d1d') | ||
22 | |||
23 | package() { | ||
24 | cd "$pkgname-$pkgver" | ||
25 | |||
26 | # define variable for Serviio home directory | ||
27 | SERVIIO_HOME=$pkgdir/usr/share/java/$pkgname | ||
28 | |||
29 | # create the folders needed in the main directory | ||
30 | install -dm755 ${SERVIIO_HOME}/{config,lib,library,plugins} | ||
31 | |||
32 | # place the serviio scripts in the /usr/bin folder | ||
33 | install -Dm755 ${srcdir}/$pkgname.sh $pkgdir/usr/bin/$pkgname | ||
34 | install -Dm755 bin/$pkgname-console.sh $pkgdir/usr/bin/$pkgname-console | ||
35 | |||
36 | # copy xml config files to the config folder | ||
37 | install -m644 config/*.xml ${SERVIIO_HOME}/config | ||
38 | |||
39 | # copy all jar files to the lib folder | ||
40 | install -m644 lib/*.jar ${SERVIIO_HOME}/lib | ||
41 | |||
42 | # copy derby.properties to library folder | ||
43 | install -m644 library/derby.properties ${SERVIIO_HOME}/library | ||
44 | |||
45 | # copy plugins-readme.txt to plugins folder | ||
46 | install -m644 plugins/plugins-readme.txt ${SERVIIO_HOME}/plugins | ||
47 | |||
48 | # create the log folder in /var/log | ||
49 | install -dm755 $pkgdir/var/log/$pkgname | ||
50 | |||
51 | # create a symlink that puts all log files in /var/log | ||
52 | ln -s /var/log/$pkgname ${SERVIIO_HOME}/log | ||
53 | |||
54 | # supply the license file | ||
55 | install -Dm644 LICENCE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE | ||
56 | |||
57 | # install systemd-service | ||
58 | install -Dm644 "${srcdir}/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service" | ||
59 | |||
60 | #install the .desktop file | ||
61 | install -Dm644 "${srcdir}/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" | ||
62 | |||
63 | #install the icon file | ||
64 | install -Dm644 "${srcdir}/$pkgname.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname.png" | ||
65 | } | ||