mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 13:52:42 +01:00
efte-1.1-1
This commit is contained in:
parent
d9f7a313db
commit
286a4aec44
3 changed files with 28 additions and 10 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -2,13 +2,15 @@ pkgbase = efte
|
|||
pkgdesc = Fast configurable programmers editor
|
||||
pkgver = 1.1
|
||||
pkgrel = 1
|
||||
url = http://efte.sourceforge.net/
|
||||
url = http://sourceforge.net/projects/efte/
|
||||
install = efte.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
license = custom
|
||||
makedepends = cmake
|
||||
depends = libxpm
|
||||
depends = desktop-file-utils
|
||||
source = http://downloads.sourceforge.net/sourceforge/efte/efte-1.1.tar.bz2
|
||||
md5sums = f92974f8f438842bae3b837fe6eff099
|
||||
|
||||
|
|
|
|||
23
PKGBUILD
23
PKGBUILD
|
|
@ -6,23 +6,28 @@ pkgver=1.1
|
|||
pkgrel=1
|
||||
pkgdesc="Fast configurable programmers editor"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://efte.sourceforge.net/"
|
||||
url="http://sourceforge.net/projects/efte/"
|
||||
license=('GPL' 'custom')
|
||||
depends=('libxpm')
|
||||
depends=('libxpm' 'desktop-file-utils')
|
||||
makedepends=('cmake')
|
||||
install=$pkgname.install
|
||||
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
|
||||
md5sums=('f92974f8f438842bae3b837fe6eff099')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
cd "${srcdir}"/$pkgname-$pkgver
|
||||
|
||||
cmake -DBUILD_X=ON \
|
||||
-DBUILD_CONSOLE=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr . || return 1
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
#license file
|
||||
install -D -m644 Artistic ${pkgdir}/usr/share/licenses/$pkgname/Artistic || return 1
|
||||
-DCMAKE_INSTALL_PREFIX=/usr .
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/$pkgname-$pkgver
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
#license
|
||||
install -Dm644 Artistic "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
|
|
|||
11
efte.install
Normal file
11
efte.install
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
post_install() {
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install $1
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue