blob: 445fe67b9656aa9ee8eee3660c80d8bb542f0647 (
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
|
pkgname=aylinux-plymouth-tema-ayar
pkgver=0.7
pkgrel=1
pkgdesc="Plymouth tema ayarlama programı"
arch=('i686' 'x86_64')
license=('GPL')
depends=('plymouth')
makedepends=('git' 'qt5-base')
url='https://github.com/oltulu/Aylinux-Plymouth-Tema-Ayar'
source=("${pkgname}::git+https://github.com/oltulu/Aylinux-Plymouth-Tema-Ayar.git")
md5sums=('SKIP')
prepare() {
cd ${srcdir}/${pkgname}
}
build() {
cd ${srcdir}/${pkgname}
qmake-qt5 Aylinux-Plymouth.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
make
}
package(){
cd ${srcdir}/${pkgname}
make DESTDIR="$pkgdir/" install
# Başlatıcı
mkdir -pv $pkgdir/usr/share/applications &&
cat > $pkgdir/usr/share/applications/$pkgname.desktop << "EOF" &&
#!/usr/bin/env xdg-open
[Desktop Entry]
Exec=sudo -i Aylinux-Plymouth
Icon=/usr/share/aylinux-plymouth/archlinux.png
Name=Aylinux-Plymouth
StartupNotify=true
Comment=Plymouth Teması Ayarlama
Terminal=false
Type=Application
Categories=System;
EOF
mkdir -pv $pkgdir/usr/share/aylinux-plymouth
mkdir -pv $pkgdir/usr/share/plymouth/themes
mv Aylinux-Plymouth $pkgdir/usr/share/aylinux-plymouth/
mv archlinux.png $pkgdir/usr/share/aylinux-plymouth/
mkdir -pv $pkgdir/usr/bin
ln -s "/usr/share/aylinux-plymouth/Aylinux-Plymouth" "$pkgdir/usr/bin/Aylinux-Plymouth"
cp -r resimler $pkgdir/usr/share/aylinux-plymouth/
cp -r temalar/* $pkgdir/usr/share/plymouth/themes/
}
|