summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5bcf52b8218
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Yi Kuo <kuokuoyiyi [at] gmail [dot] com>
+pkgname=nv-card
+pkgver=0.1
+pkgrel=1
+pkgdesc="A script to switch NVIDIA graphics card using bbswitch"
+arch=("x86_64")
+url="https://github.com/YiPrograms/NV-Card"
+license=('GPL')
+depends=('bbswitch' 'nvidia')
+optdepends=('bumblebee: optirun support'
+ 'xf86-video-intel: External display support')
+source=(https://github.com/YiPrograms/NV-Card/archive/$pkgver.tar.gz)
+md5sums=('SKIP') #autofill using updpkgsums
+
+package() {
+ cd "NV-Card-$pkgver"
+ install -Dm 755 card "$pkgdir/usr/bin/card"
+} \ No newline at end of file