aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZee Eichel <zee@dracos-linux.org>2019-05-14 11:05:47 +0700
committerZee Eichel <zee@dracos-linux.org>2019-05-14 11:05:47 +0700
commit6f312a5b5b62cdd24213453a12c09d21b9380e07 (patch)
treea83a8fbbefafdab3027995bb7df8db1bcb5ed5b4
parent234fc2c0a80499f96bffed1689684f94fb9df823 (diff)
downloaddemit.extra-git.repo-6f312a5b5b62cdd24213453a12c09d21b9380e07.tar.gz
demit.extra-git.repo-6f312a5b5b62cdd24213453a12c09d21b9380e07.tar.bz2
demit.extra-git.repo-6f312a5b5b62cdd24213453a12c09d21b9380e07.zip
add opencl-dev,opencl-icd-loader
-rw-r--r--opencl/opencl-dev/pkgbuild-opencl-dev.sh17
-rw-r--r--opencl/opencl-icd-loader/pkgbuild-opencl-icd-loader.sh25
-rw-r--r--pkgbuild-shared-mime-indo.sh42
-rw-r--r--pkgbuild-startup-notification.sh23
4 files changed, 107 insertions, 0 deletions
diff --git a/opencl/opencl-dev/pkgbuild-opencl-dev.sh b/opencl/opencl-dev/pkgbuild-opencl-dev.sh
new file mode 100644
index 0000000..7956521
--- /dev/null
+++ b/opencl/opencl-dev/pkgbuild-opencl-dev.sh
@@ -0,0 +1,17 @@
+#Maintainer: Zee Eichel <zee@dracos-linux.org>
+
+pkgname=opencl-dev
+pkgver=1.0
+pkgrel=1
+pkgdesc=" C language headers for the OpenCL API"
+arch=('x86_64')
+url="https://github.com/KhronosGroup/OpenCL-Headers/"
+license=('custom')
+source=("https://github.com/KhronosGroup/OpenCL-Headers/archive/master.zip")
+sha256sums=("95aea74bbd87a866804c54c29b5ea534eaddaedecf29dc02e0b28833c028b6ba")
+
+package() {
+ cd "OpenCL-Headers-master"
+ install -dm 755 $pkgdir/usr/include
+ cp -r CL $pkgdir/usr/include/
+}
diff --git a/opencl/opencl-icd-loader/pkgbuild-opencl-icd-loader.sh b/opencl/opencl-icd-loader/pkgbuild-opencl-icd-loader.sh
new file mode 100644
index 0000000..33d67a9
--- /dev/null
+++ b/opencl/opencl-icd-loader/pkgbuild-opencl-icd-loader.sh
@@ -0,0 +1,25 @@
+#Maintainer: Zee Eichel <zee@dracos-linux.org>
+
+pkgname=opencl-icd-loader
+pkgver=2.1
+pkgrel=1
+pkgdesc="ICD Loader library"
+arch=('x86_64')
+url="https://github.com/KhronosGroup/OpenCL-ICD-Loader"
+license=('custom')
+makedepends=('opencl-dev')
+source=("https://github.com/KhronosGroup/OpenCL-ICD-Loader/archive/master.zip")
+sha256sums=("40a3159bab5f32e1a2a894ec622aa1665e5601b6b7215021dc0bb063368b9f82")
+
+build() {
+ cd "OpenCL-ICD-Loader-master"
+ make
+}
+
+package() {
+ cd "OpenCL-ICD-Loader-master"
+ install -dm 755 $pkgdir/usr/lib
+ install -dm 755 $pkgdir/usr/bin
+ cp -r build/lib/*.so* $pkgdir/usr/lib/
+ cp -r build/bin/icd_loader_test $pkgdir/usr/bin/
+}
diff --git a/pkgbuild-shared-mime-indo.sh b/pkgbuild-shared-mime-indo.sh
new file mode 100644
index 0000000..6c49c86
--- /dev/null
+++ b/pkgbuild-shared-mime-indo.sh
@@ -0,0 +1,42 @@
+#Maintainer: purnomo hadi <dimension.breaker@dracos-linux.org>
+
+pkgname=shared-mime-info
+pkgver=1.10
+pkgrel=1
+pkgdesc="The Shared Mime Info package contains a MIME database. "
+arch=(x86_64)
+url="fredesktop.org"
+license=('GPLv3+')
+depends=('libxml2' 'glib' )
+provides=("${pkgname}")
+conflicts=("${pkgname}")
+source=("https://people.freedesktop.org/~hadess/$pkgname-$pkgver.tar.xz")
+sha256sums=('c625a83b4838befc8cafcd54e3619946515d9e44d63d61c4adf7f5513ddfbebf')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --libdir=/usr/lib .. &&
+ make
+
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+
+ make DESTDIR="$pkgdir" install
+
+ if [ -d "$pkgdir/usr/share/man" ]; then
+ rm -rf $pkgdir/usr/share/man
+
+ fi
+ if [ -d "$pkgdir/usr/share/doc" ]; then
+ rm -rf $pkgdir/usr/share/doc
+
+ fi
+
+}
+
+
+
diff --git a/pkgbuild-startup-notification.sh b/pkgbuild-startup-notification.sh
new file mode 100644
index 0000000..76d324b
--- /dev/null
+++ b/pkgbuild-startup-notification.sh
@@ -0,0 +1,23 @@
+#Maintainer: Zee Eichel <zee@dracos-linux.org>
+
+pkgname=startup-notification
+pkgver=0.12
+pkgrel=1
+pkgdesc="Monitor and display application startup"
+arch=('x86_64')
+url="https://www.freedesktop.org/wiki/Software/startup-notification/"
+license=('LGPL')
+depends=('xorg-libraries-bundle' 'xcb-util')
+source=("https://www.freedesktop.org/software/startup-notification/releases/startup-notification-${pkgver}.tar.gz")
+sha256sums=("3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a")
+
+build() {
+ cd "${srcdir}/startup-notification-${pkgver}"
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/startup-notification-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+}