diff options
author | root <root@rshg047.dnsready.net> | 2011-06-06 22:47:17 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-06 22:47:17 +0000 |
commit | 93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (patch) | |
tree | 1f60e792a546a9484aec590ce687df8f0ec6c697 /community/tea/PKGBUILD | |
parent | c81b3455112a3b09a8341fc8c45a91bd92c15a12 (diff) |
Mon Jun 6 22:47:16 UTC 2011
Diffstat (limited to 'community/tea/PKGBUILD')
-rw-r--r-- | community/tea/PKGBUILD | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/community/tea/PKGBUILD b/community/tea/PKGBUILD index 7cc2a70c8..4ab5fde5d 100644 --- a/community/tea/PKGBUILD +++ b/community/tea/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 47317 2011-05-21 17:27:47Z jelle $ +# $Id: PKGBUILD 48620 2011-06-03 13:51:59Z ibiru $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Roman Kyrylych <roman@archlinux.org> @@ -7,31 +7,29 @@ pkgname=tea pkgver=29.0.3 -pkgrel=1 +pkgrel=2 pkgdesc="A QT-based text editor for Linux and *BSD. With an ultimate small size TEA provides you hundreds of functions." arch=('i686' 'x86_64') url="http://tea-editor.sourceforge.net/" license=('GPL') depends=('qt' 'aspell' 'hunspell') install=tea.install -source=(http://downloads.sourceforge.net/tea-editor/$pkgname-$pkgver.tar.bz2 +source=(http://downloads.sourceforge.net/tea-editor/${pkgname}-${pkgver}.tar.bz2 tea.desktop) md5sums=('1c900e7f57a0fe72fb4cc481450a5b32' '377ace3363124f4c086de0babb820761') build() { - cd ${srcdir}/$pkgname-$pkgver + cd "${srcdir}/${pkgname}-${pkgver}" - qmake + qmake PREFIX=/usr/bin make } -package(){ - cd ${srcdir}/$pkgname-$pkgver - make INSTALL_ROOT=${pkgdir} install - install -Dm755 ${pkgdir}/usr/local/bin/tea ${pkgdir}/usr/bin/tea - rm -rf ${pkgdir}/usr/local +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + make INSTALL_ROOT="${pkgdir}" install - install -Dm644 ${srcdir}/tea.desktop ${pkgdir}/usr/share/applications/tea.desktop - install -Dm644 icons/tea_icon_v2.png ${pkgdir}/usr/share/pixmaps/tea.png + install -Dm644 "${srcdir}/tea.desktop" "${pkgdir}/usr/share/applications/tea.desktop" + install -Dm644 icons/tea_icon_v2.png "${pkgdir}/usr/share/pixmaps/tea.png" } |