diff options
author | linuxSEAT | 2016-06-16 03:36:47 +0300 |
---|---|---|
committer | linuxSEAT | 2016-06-16 03:36:47 +0300 |
commit | 76ccdb262657b1ee3dacd0cd074171d1dd81f6dd (patch) | |
tree | dd27f184ded289d2f277fc0ed6174696a07dcf28 | |
download | aur-76ccdb262657b1ee3dacd0cd074171d1dd81f6dd.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | ayat | 2 | ||||
-rw-r--r-- | ayat.desktop | 9 |
4 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..acc069ce832c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = ayat + pkgdesc = Holy Quran - KSU Electronic Moshaf project + pkgver = 1.4 + pkgrel = 1 + url = http://quran.ksu.edu.sa/ + arch = any + license = GPL + makedepends = unzip + depends = adobe-air-sdk + depends = lib32-libxt + depends = lib32-curl + noextract = Ayat-v1.4_linux.zip + source = http://cdn.ksu.edu.sa/quran/ayat/download/programs/Ayat-v1.4_linux.zip + source = ayat + source = ayat.desktop + md5sums = b1fa5ee55415ea3e9228e6f11599206a + md5sums = ad48120862e0767d15968a49420c1a27 + md5sums = d374c9501d78ce6c9079c66aec4feb15 + +pkgname = ayat + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0dcfb855daba --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: linuxSEAT <--put_my_name_here--@gmail.com> + +pkgname=ayat +pkgver=1.4 +pkgrel=1 +pkgdesc="Holy Quran - KSU Electronic Moshaf project" +arch=('any') +url="http://quran.ksu.edu.sa/" +license=('GPL') +depends=(adobe-air-sdk lib32-libxt lib32-curl) +makedepends=(unzip) +source=("http://cdn.ksu.edu.sa/quran/ayat/download/programs/Ayat-v${pkgver}_linux.zip" ${pkgname} ${pkgname}.desktop) +noextract=("Ayat-v${pkgver}_linux.zip") +md5sums=(b1fa5ee55415ea3e9228e6f11599206a + ad48120862e0767d15968a49420c1a27 + d374c9501d78ce6c9079c66aec4feb15) + +prepare() { + cd "${srcdir}" + unzip -q "Ayat-v${pkgver}_linux.zip" +} + +package() { + mkdir -p "${pkgdir}/opt/airapps/${pkgname}" + unzip -q "${srcdir}/Ayat-v${pkgver}.air" -d "${pkgdir}/opt/airapps/${pkgname}" + install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm644 "${pkgdir}/opt/airapps/${pkgname}/icons/128_app.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" +} @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/ayat/META-INF/AIR/application.xml /opt/airapps/ayat/ diff --git a/ayat.desktop b/ayat.desktop new file mode 100644 index 000000000000..da67b4111453 --- /dev/null +++ b/ayat.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Version=1.4 +Name=ayat +Comment=Holy Quran - KSU Electronic Moshaf project +Exec=ayat +Icon=ayat +Terminal=false +Categories=Utility;Education; |