summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmilee2015-06-13 21:35:43 +0800
committershmilee2015-06-13 21:35:43 +0800
commited54c0ac1b6e693b3fd6e99d6739e661bd974ea1 (patch)
treeb76545bda27b78c05eb6f21c97fa50a608537792
downloadaur-ed54c0ac1b6e693b3fd6e99d6739e661bd974ea1.tar.gz
initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD20
-rw-r--r--install7
3 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..38076758536
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = xbmc-addons-chinese
+ pkgdesc = Addon scripts, plugins, and skins for kodi(XBMC) Media Center. Special for chinese laguage.
+ pkgver = 1.2.0
+ pkgrel = 2
+ url = https://github.com/taxigps/xbmc-addons-chinese/
+ install = install
+ arch = any
+ license = GPLv2
+ depends = xbmc
+ source = https://github.com/taxigps/xbmc-addons-chinese/raw/master/repo/repository.xbmc-addons-chinese/repository.xbmc-addons-chinese-1.2.0.zip
+ md5sums = dbe8eff47bebb0634d32fdd88a0b0b8b
+
+pkgname = xbmc-addons-chinese
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4d328b81335
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: shmilee.zju <shmilee.zju@gmail.com>
+_zip_name=repository.xbmc-addons-chinese
+
+pkgname=xbmc-addons-chinese
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="Addon scripts, plugins, and skins for kodi(XBMC) Media Center. Special for chinese laguage."
+arch=('any')
+url="https://github.com/taxigps/xbmc-addons-chinese/"
+license=('GPLv2')
+depends=('xbmc')
+install=install
+source=("https://github.com/taxigps/${pkgname}/raw/master/repo/${_zip_name}/${_zip_name}-${pkgver}.zip")
+md5sums=('dbe8eff47bebb0634d32fdd88a0b0b8b')
+
+package() {
+ cd ${srcdir}/
+ install -dm755 ${pkgdir}/usr/share/kodi/addons/
+ find $_zip_name -type f -exec install -Dm644 {} ${pkgdir}/usr/share/kodi/addons/{} \;
+}
diff --git a/install b/install
new file mode 100644
index 00000000000..25c8e8f318c
--- /dev/null
+++ b/install
@@ -0,0 +1,7 @@
+post_install() {
+ echo "you'd better restart XBMC."
+}
+
+post_upgrade() {
+ post_install
+}