summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSergej Pupykin2017-05-29 20:58:36 +0300
committerSergej Pupykin2017-05-29 20:59:59 +0300
commit69646cb00f4daf9c1900a024f2c114824f75d651 (patch)
tree1758590b5d8242035f4d796682c2bf1d66b0d29e /PKGBUILD
downloadaur-69646cb00f4daf9c1900a024f2c114824f75d651.tar.gz
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dee38510313
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
+
+pkgname=bluez-rfcomm
+pkgver=5.45
+pkgrel=1
+pkgdesc="deprecated rfcomm tool from bluez"
+url="http://www.bluez.org/"
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=("bluez")
+source=(rfcomm.c rfcomm.1)
+sha256sums=('d7a382344ceb1b9095cbb45d1d3f9fe4509ebddf44647c7641a812ccc0540c02'
+ 'fd06cdd4ee0981c365c0acf5e00405e66b8af5ffbdec9d2fdaaf03c6fbaba057')
+
+build() {
+ gcc rfcomm.c -lbluetooth -o rfcomm -DVERSION=\"$pkgver\"
+}
+
+package() {
+ install -Dm0755 rfcomm "$pkgdir"/usr/bin/rfcomm
+ install -Dm0755 rfcomm.1 "$pkgdir"/usr/share/man/man1/rfcomm.1
+}