blob: 2fae7564c19c47ddbcda9ef0f561b878313852e0 (
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
54
55
56
57
58
|
# Maintainer : oltulu <cihanalk@gmail.com>
pkgname=ay-gaste
pkgver=0.3
pkgrel=1
pkgdesc="Online gazete okuma programı"
arch=('i686' 'x86_64')
license=('GPL')
depends=('qt5-base' 'exempi')
makedepends=('git' 'qt5-base')
url='https://notabug.org/oltulu/Ay-Gaste'
source=("${pkgname}::git+https://notabug.org/oltulu/Ay-Gaste.git")
md5sums=('SKIP')
prepare() {
cd ${srcdir}/${pkgname}
}
build() {
cd ${srcdir}/${pkgname}
qmake-qt5 ay-gaste.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]
Type=Application
Name=Gazete Oku
Comment=Online Gazete Oku
Icon=/usr/share/icons/ay-gaste.png
Exec=ay-gaste
Terminal=false
Categories=Graphics;
Keywords=gazete;gaste;oku;
Name[tr_TR]=Gazete Oku
Path=
StartupNotify=false
EOF
cd ${srcdir}/${pkgname}
mkdir -pv $pkgdir/usr/bin
cp ${pkgname} $pkgdir/usr/bin/
mkdir -pv $pkgdir/usr/share/icons
cp ${pkgname}.png $pkgdir/usr/share/icons/
mkdir -pv $pkgdir/usr/share/ay-gaste
cp -r logo $pkgdir/usr/share/ay-gaste/
cp yerel $pkgdir/usr/share/ay-gaste/
cp ulusal $pkgdir/usr/share/ay-gaste/
}
|