l3afpad, gpicview

This commit is contained in:
cakarsu committed 2023-04-18 20:06:14 +03:00
1 parent df9c45566c
commit 4ae7100ef5
2 files changed
+75

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
#!/usr/bin/env bash
name='l3afpad'
release='1'
version='0.8.18.1.11'
url='https://github.com/stevenhoneyman/l3afpad'
description='Simple plain text editor for GTK 3'
email='mehmetozturek@gmail.com'
maintainer='mehmet'
license=('GPLv3')
source=("https://github.com/stevenhoneyman/l3afpad/archive/refs/tags/v${version}.tar.gz")
depends=(gtk3)
makedepends=(intltool)
md5sums=('2c209503116b53e732c37f8d8d4c40fd')
group=(app.editor)
uses=()
arch=('x86_64')
cd $name-$version
setup(){
autoreconf -fvi
./configure --prefix=/usr \
--libdir=/usr/lib64/
}
build(){
make $jobs
}
package(){
make install $jobs
}
+42
View File
@@ -0,0 +1,42 @@
#!/usr/bin/env bash
name='gpicview'
release='1'
version='0.2.5'
url='https://www.lxde.org'
description='Lightweight image viewer'
email='akarsu@protonmail.com'
maintainer='akarsu'
license=('GPL2')
source=("https://downloads.sourceforge.net/lxde/$name-$version.tar.xz"
'https://github.com/archlinux/svntogit-community/blob/packages/gpicview/trunk/gpicview.appdata.xml'
'https://github.com/archlinux/svntogit-community/blob/packages/gpicview/trunk/0001-Fix-displaying-images-with-GTK3.patch')
depends=(gtk3)
makedepends=(intltool)
md5sums=('26be9b0c5a234f1afe7d83d02a4a33f4' 'SKIP' 'SKIP')
group=(media.gfx)
uses=()
arch=('x86_64')
cd $name-$version
patch -Np1 -i ../0001-Fix-displaying-images-with-GTK3.patch
# Apply only one main category
sed -i '/^Categories=/ s/Utility;//' gpicview.desktop.in
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64/ \
--enable-gtk3
}
build(){
make $jobs
}
package(){
make DESTDIR="$DESTDIR" install
ls -l ../
install -Dm644 ../$name.appdata.xml "$DESTDIR/usr/share/metainfo/$name.appdata.xml"
}