initial import
This commit is contained in:
53
xfe/PKGBUILD
Normal file
53
xfe/PKGBUILD
Normal file
@@ -0,0 +1,53 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=xfe
|
||||
pkgver=1.45
|
||||
_debver=$pkgver
|
||||
_debrel=2
|
||||
pkgrel=1
|
||||
pkgdesc="X File Explorer (Xfe) is a lightweight, free and libre file manager for X"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://roland65.free.fr/xfe/'
|
||||
license=('GPL-2')
|
||||
depends=('fox' 'freetype2' 'xcb-util' 'libxft')
|
||||
makedepends=('intltool' 'quilt')
|
||||
source=("${pkgname}-${pkgver}.tar.xz::https://deb.debian.org/debian/pool/main/x/xfe/xfe_${pkgver}.orig.tar.xz"
|
||||
"https://deb.debian.org/debian/pool/main/x/xfe/xfe_${_debver}-${_debrel}.debian.tar.xz"
|
||||
"libre.patch"
|
||||
"opus-support-in-xferc.patch")
|
||||
sha512sums=('3d511fec3070b39c08b83c19178890dea6f7a306dee0c51a98b6ed8eafc5148973da6d803beb2053be131d389dd74eef829459fe39e212f53b983b19d5d1cb4f'
|
||||
'761e74a1ed7a4d5327f41265d02a8b507adb63d87a85022b52bd89efb3eef6a70a573803dcdbf97c42e16a5485f3cd434a5c75fc25a22b4fb2894ae567985011'
|
||||
'2dbc1374f2546aed565033f2cccef6b46df3d535db3129b9e924e6622d150ccc53fee491ab951f385d9f1b38b535798d53a3749ffb84466c42b932c91f9dab3b'
|
||||
'5adfa87130c3f4fe179858fce01110b4dc06555aeffc7c60274911c77716c686099663db4cb161375a8b3c0309584bcf47d9c4b20b04b900837eb56431ab1535')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
|
||||
# Debian patches
|
||||
export QUILT_PATCHES=debian/patches
|
||||
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
|
||||
export QUILT_DIFF_ARGS='--no-timestamps'
|
||||
|
||||
rm -rf ./debian
|
||||
mv "$srcdir"/debian .
|
||||
|
||||
quilt push -av
|
||||
fi
|
||||
|
||||
patch -p1 -i $srcdir/libre.patch
|
||||
patch -p1 -i $srcdir/opus-support-in-xferc.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
17
xfe/libre.patch
Normal file
17
xfe/libre.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
diff --git a/xferc.in b/xferc.in
|
||||
index 8245e8b2..4be6bc80 100644
|
||||
--- a/xferc.in
|
||||
+++ b/xferc.in
|
||||
@@ -201,9 +201,9 @@ frm = "<txteditor>,<txtviewer>,<txteditor>;VisualBasic Source;text_32x32.png;tex
|
||||
asc = "<txteditor>,<txtviewer>,<txteditor>;ASCII File;text_32x32.png;text_16x16.png;;"
|
||||
|
||||
# Web
|
||||
-html = "firefox,firefox,<txteditor>;Hyper Text;html_32x32.png;html_16x16.png;;"
|
||||
-htm = "firefox,firefox,<txteditor>;Hyper Text;html_32x32.png;html_16x16.png;;"
|
||||
-php = "firefox,firefox,<txteditor>;PHP Source;html_32x32.png;html_16x16.png;;"
|
||||
+html = "iceweasel-uxp,iceweasel-uxp,<txteditor>;Hyper Text;html_32x32.png;html_16x16.png;;"
|
||||
+htm = "iceweasel-uxp,iceweasel-uxp,<txteditor>;Hyper Text;html_32x32.png;html_16x16.png;;"
|
||||
+php = "iceweasel-uxp,iceweasel-uxp,<txteditor>;PHP Source;html_32x32.png;html_16x16.png;;"
|
||||
js = "<txteditor>,<txtviewer>,<txteditor>;Javascript;html_32x32.png;html_16x16.png;;"
|
||||
css = "<txteditor>,<txtviewer>,<txteditor>;Style Sheet;text_32x32.png;text_16x16.png;;"
|
||||
|
||||
12
xfe/opus-support-in-xferc.patch
Normal file
12
xfe/opus-support-in-xferc.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/xferc.in b/xferc.in
|
||||
index 8245e8b2..16a26149 100644
|
||||
--- a/xferc.in
|
||||
+++ b/xferc.in
|
||||
@@ -302,6 +302,7 @@ mp3 = "<audioplayer>,<audioplayer>,audacity;MPEG Audio;mp3_32x32.png;mp3_16x16.p
|
||||
m4a = "<audioplayer>,<audioplayer>,audacity;MPEG Audio;mp3_32x32.png;mp3_16x16.png;;"
|
||||
mpeg3 = "<audioplayer>,<audioplayer>,audacity;MPEG Audio;mp3_32x32.png;mp3_16x16.png;;"
|
||||
ogg = "<audioplayer>,<audioplayer>,audacity;Ogg Vorbis Audio;mp3_32x32.png;mp3_16x16.png;;"
|
||||
+opus = "<audioplayer>,<audioplayer>,audacity;Opus Audio;mp3_32x32.png;mp3_16x16.png;;"
|
||||
xm = "<audioplayer>,<audioplayer>,;Audio module;wave_32x32.png;wave_16x16.png;;"
|
||||
mod = "<audioplayer>,<audioplayer>,;Audio module;wave_32x32.png;wave_16x16.png;;"
|
||||
s3m = "<audioplayer>,<audioplayer>,;Audio module;wave_32x32.png;wave_16x16.png;;"
|
||||
Reference in New Issue
Block a user