summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Kuo2019-06-24 22:55:48 +0800
committerYi Kuo2019-06-24 22:55:48 +0800
commitca57376e1fb71f6890df5a96a48fb92e02254924 (patch)
treebf4d7b241d21cfd2dc906d13ce5f20c3683b999b
downloadaur-ca57376e1fb71f6890df5a96a48fb92e02254924.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD18
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c77a26e0747
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = nv-card
+ pkgdesc = A script to switch NVIDIA graphics card using bbswitch
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://github.com/YiPrograms/NV-Card
+ arch = x86_64
+ license = GPL
+ depends = bbswitch
+ depends = nvidia
+ optdepends = bumblebee: optirun support
+ optdepends = xf86-video-intel: External display support
+ source = https://github.com/YiPrograms/NV-Card/archive/0.1.tar.gz
+ md5sums = SKIP
+
+pkgname = nv-card
+
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