mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
36 lines
988 B
Bash
36 lines
988 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
pkgname=feh
|
|
pkgver=1.12
|
|
pkgrel=1
|
|
pkgdesc="A fast, lightweight image viewer which uses imlib2"
|
|
arch=('i686' 'x86_64')
|
|
url="https://derf.homelinux.org/~derf/projects/feh/"
|
|
license=('MIT')
|
|
depends=('libxinerama' 'giblib' 'perl')
|
|
makedepends=('libxt')
|
|
source=("https://derf.homelinux.org/~derf/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
|
sha1sums=('0f0f6dec50d81f9765bef990018de44e411a7439')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
sed -i -e "s:/usr/local:/usr:g" config.mk
|
|
make || return 1
|
|
}
|
|
|
|
package(){
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" || return 1
|
|
}
|