-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
23 lines (22 loc) · 1.03 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Author: Mohammad Odeh <astronomycenter.net>
# Maintainer: dj.zak <dz.wbdev@gmail.com>
pkgname=mushaf_almadinah
pkgver=1
pkgrel=1
pkgdesc="مصحف المدينة."
arch=('x86_64')
url="https://astronomycenter.net/accut.html"
license=('custom')
depends=('wine' 'bash')
source=('mushaf_almadinah.tar.xz::https://github.com/dzwdev/Accurate_Times/raw/refs/heads/main/accutimes.tar.xz')
sha256sums=('464423661e1e01b829d940692e5904e2d694436e3de6c0bf3174281025796daa')
package() {
mkdir -p "${pkgdir}/usr/share/${pkgname}"
mkdir -p "${pkgdir}/usr/share/fonts/mushaf_fonts"
mv "${srcdir}/mushaf_almadinah/"* "${pkgdir}/usr/share/${pkgname}/"
mv "${srcdir}/fonts/"* "${pkgdir}/usr/share/fonts/mushaf_fonts"
find "$pkgdir"/usr/share -type f -exec chmod 644 "{}" \;
find "$pkgdir"/usr/share -type d -exec chmod 755 "{}" \;
install -Dm755 "${srcdir}/mushaf_almadinah.sh" "${pkgdir}/usr/bin/mushaf_almadinah.sh"
install -Dm644 "${srcdir}/mushaf_almadinah.desktop" "${pkgdir}/usr/share/applications/mushaf_almadinah.desktop"
}