Last active
October 6, 2015 16:50
-
-
Save sukso96100/5dd69586d456470b42d4 to your computer and use it in GitHub Desktop.
dasom PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Youngbin Han <[email protected]> | |
# Submitter: Youngbin Han <[email protected]> | |
pkgname=dasom-git | |
_pkgname=dasom | |
pkgver=228.4cb1021 | |
pkgrel=1 | |
pkgdesc="Dasom is an input method framework" | |
arch=('any') | |
url="https://github.com/cogniti/${_pkgname}" | |
license=('GNU LGPL v3') | |
depends=('gtk2' 'gtk3' 'qt4' 'qt5-3d' 'qt5-base' 'qt5-canvas3d' 'qt5-connectivity' 'qt5-declarative' 'qt5-enginio' 'qt5-graphicaleffects' 'qt5-imageformats' 'qt5-location' 'qt5-multimedia' 'qt5-quick1' 'qt5-quickcontrols' 'qt5-script' 'qt5-sensors' 'qt5-serialport' 'qt5-svg' 'qt5-tools' 'qt5-translations' 'qt5-wayland' 'qt5-webchannel' 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras' 'qt5-xmlpatterns' | |
'libhangul') | |
makedepends=('intltool' 'gobject-introspection' 'glib2' 'libappindicator3' 'git') | |
conflicts=("dasom") | |
source=("${_pkgname}"::"git+https://github.com/cogniti/${_pkgname}.git") | |
md5sums=('SKIP') | |
pkgver() { | |
cd "${srcdir}/${_pkgname}" | |
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" | |
} | |
prepare() { | |
cd "${srcdir}/${_pkgname}" | |
./autogen.sh | |
} | |
build() { | |
cd "${srcdir}/${_pkgname}" | |
make | |
} | |
package() { | |
cd "${srcdir}/${_pkgname}" | |
echo "Packaging.. : [Desktop Shortcut] | Icon | Other Files | Done" | |
make DESTDIR="${pkgdir}/" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment