summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Zhang2016-05-05 15:26:35 +0800
committerBruce Zhang2016-05-05 15:26:35 +0800
commit4355ffa728347a3f2e9e6a5392383a47a44ce6bc (patch)
treea1f936ae283b9a46aa097700be95a54e17198333
downloadaur-4355ffa728347a3f2e9e6a5392383a47a44ce6bc.tar.gz
initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD39
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..de24af24df2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = deepin-crossover
+ pkgdesc = Deepin CrossOver.
+ pkgver = 0.5.14
+ pkgrel = 1
+ url = https://www.codeweavers.com/
+ arch = i686
+ arch = x86_64
+ license = unknown
+ makedepends = tar
+ depends = lib32-libx11
+ noextract = deepin-crossover_0.5.14_i386.deb
+ source = https://mirrors.ustc.edu.cn/deepin/pool/non-free/d/deepin-crossover/deepin-crossover_0.5.14_i386.deb
+ md5sums = c5f59fd1d4ed2b1df597e0d4290fbbaf
+
+pkgname = deepin-crossover
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..05397138ecf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Bruce Zhang <zttt183525594@gmail.com>
+pkgname=deepin-crossover
+pkgver=0.5.14
+pkgrel=1
+epoch=
+pkgdesc="Deepin CrossOver."
+arch=('i686' 'x86_64')
+url="https://www.codeweavers.com/"
+license=('unknown')
+groups=()
+depends=('lib32-libx11')
+makedepends=('tar')
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("https://mirrors.ustc.edu.cn/deepin/pool/non-free/d/${pkgname}/${pkgname}_${pkgver}_i386.deb")
+noextract=("${pkgname}_${pkgver}_i386.deb")
+md5sums=('c5f59fd1d4ed2b1df597e0d4290fbbaf')
+validpgpkeys=()
+
+prepare() {
+ ar -x ${pkgname}_${pkgver}_i386.deb
+ mkdir ${pkgname}-${pkgver}
+ tar -xf data.tar.xz --directory="${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
+ mv ./lib ./usr/
+ rm -rf ./lib
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ cp -r ./ ${pkgdir}/
+}