summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYi Kuo2019-06-24 22:55:48 +0800
committerYi Kuo2019-06-24 22:55:48 +0800
commitca57376e1fb71f6890df5a96a48fb92e02254924 (patch)
treebf4d7b241d21cfd2dc906d13ce5f20c3683b999b /PKGBUILD
downloadaur-ca57376e1fb71f6890df5a96a48fb92e02254924.tar.gz
Initial commit
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