summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Yan2015-07-23 20:12:50 +0800
committerFelix Yan2015-07-23 20:12:50 +0800
commitbd20fd5eaa35e0892dc68f8f8137c8ccbaa1fcff (patch)
treef5448db91259052d87fff453fb29696d21d4fc3d
downloadaur-bd20fd5eaa35e0892dc68f8f8137c8ccbaa1fcff.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD36
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ebceb571518
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = fcitx-tsundere
+ pkgdesc = Tsundere module for fcitx, adds something following every character you input.
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://github.com/felixonmars/fcitx-tsundere
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = cmake
+ makedepends = intltool
+ depends = fcitx>=4.2.0
+ conflicts = fcitx-tsundere-git
+ source = fcitx-tsundere.tar.gz::https://github.com/felixonmars/fcitx-tsundere/tarball/0.1
+ md5sums = e490c2833d4f2ed38d3155b842bb0ff4
+
+pkgname = fcitx-tsundere
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dd8fab76e4e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+#Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=fcitx-tsundere
+pkgver=0.1
+pkgrel=1
+pkgdesc="Tsundere module for fcitx, adds something following every character you input."
+arch=('i686' 'x86_64')
+url="https://github.com/felixonmars/fcitx-tsundere"
+license=('GPL')
+depends=('fcitx>=4.2.0')
+conflicts=fcitx-tsundere-git
+makedepends=('cmake' 'intltool')
+source=($pkgname.tar.gz::https://github.com/felixonmars/fcitx-tsundere/tarball/$pkgver)
+md5sums=('e490c2833d4f2ed38d3155b842bb0ff4')
+
+build() {
+ cd "$srcdir/"
+ msg "Starting make..."
+
+ rm -rf $pkgname
+ mv felixonmars-$pkgname-* $pkgname
+ cd $pkgname
+
+ rm -rf build
+ mkdir build
+ cd build
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname/build"
+ make DESTDIR="${pkgdir}" install
+}
+