mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
Adding feh
This commit is contained in:
parent
943b917aa7
commit
4132b0219d
36
feh/PKGBUILD
Normal file
36
feh/PKGBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
#
|
||||
# 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.8
|
||||
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")
|
||||
md5sums=('fe81334805f4da9b5f1e35b45c444a1a')
|
||||
sha1sums=('147b5608281b81be8d1f7cf944fd761e8b86ae06')
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user