diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..51182da17b9d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> + +pkgname=deepin-terminal +pkgver=2.0.16 +pkgrel=2 +pkgdesc='Default terminal emulation application for Deepin' +arch=('i686' 'x86_64') +url="https://github.com/manateelazycat/deepin-terminal" +license=('GPL3') +depends=('vte3' 'libsecret' 'libgee' 'libwnck3' 'expect' 'deepin-shortcut-viewer' +'deepin-menu') +makedepends=('git' 'vala') +groups=('deepin-extra') +options=(!emptydirs) +source=("git+https://github.com/manateelazycat/deepin-terminal.git") +sha256sums=('SKIP') + +prepare() { + sed -i 's|return __FILE__;|return "/usr/share/deepin-terminal/project_path.c";|' deepin-terminal/project_path.c +} + +build() { + cd "$srcdir" + mkdir build; cd build; cmake ../deepin-terminal;make PREFIX=/usr +} + +package() { + cd "$srcdir/build" + make DESTDIR="$pkgdir" PREFIX=/usr install +} |