diff options
author | Alois Nespor | 2016-06-11 15:36:19 +0200 |
---|---|---|
committer | Alois Nespor | 2016-06-11 15:36:19 +0200 |
commit | cefe0a0e52f186bab188c6cb91755f5ab354e729 (patch) | |
tree | 439c71bf7ee81e662c4aa046309edf7dfb1075d3 | |
download | aur-ktoshiba.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b2719cd7c867 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Sat Jun 11 13:35:47 UTC 2016 +pkgbase = ktoshiba + pkgdesc = KToshiba is a Function (FN) key monitoring for Toshiba laptops. + pkgver = 5.3.1 + pkgrel = 1 + url = http://ktoshiba.sourceforge.net/ + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = cmake + makedepends = extra-cmake-modules + depends = kcmutils + source = https://sourceforge.net/projects/ktoshiba/files/ktoshiba/5.3/ktoshiba-5.3.1.tar.xz + sha256sums = 6be3f114b7a5d94caf9b6b8b80a919d01eabc6fdff57f23533616ca0b36803b8 + +pkgname = ktoshiba + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9eae7b893ab8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Alois Nespor <info@aloisnespor.info> + +pkgname=ktoshiba +pkgver=5.3.1 +pkgrel=1 +pkgdesc="KToshiba is a Function (FN) key monitoring for Toshiba laptops." +arch=('i686' 'x86_64') +url="http://ktoshiba.sourceforge.net/" +license=('GPL2') +depends=(kcmutils) +makedepends=(cmake extra-cmake-modules ) +source=("https://sourceforge.net/projects/ktoshiba/files/ktoshiba/5.3/ktoshiba-$pkgver.tar.xz") + +build() { +msg "Starting build..." + cd $srcdir/$pkgname-$pkgver + cmake . -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DLIBMNL_INCLUDE_DIRS=/usr/include/libmnl + make +} + +package() { + cd ${srcdir}/$pkgname-${pkgver} + make "DESTDIR=$pkgdir" install +} +sha256sums=('6be3f114b7a5d94caf9b6b8b80a919d01eabc6fdff57f23533616ca0b36803b8') |