initial import
This commit is contained in:
35
l3afpad/PKGBUILD
Normal file
35
l3afpad/PKGBUILD
Normal file
@@ -0,0 +1,35 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=l3afpad
|
||||
pkgver=0.8.18.1.11
|
||||
pkgrel=1
|
||||
pkgdesc='Simple plain text editor for GTK+ 3'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://github.com/stevenhoneyman/l3afpad'
|
||||
license=('GPL-2')
|
||||
depends=('gtk')
|
||||
makedepends=('intltool' 'gettext-tiny')
|
||||
source=($pkgname-$pkgver.tar.gz::https://github.com/stevenhoneyman/l3afpad/archive/v$pkgver.tar.gz
|
||||
l3afpad.appdata.xml)
|
||||
sha512sums=('f77494afc81d4c8586a976318d77d194eedf8414fc896cc9e2593de00dd3bb8c157f199a44908147b467f04b7a76c2c20aa67c64567685a77421ba0c2bff4643'
|
||||
'06c8518f897f6d7f2f1c6ac1b10a83a5db862bf287e3bf1f97b7022b0107582fc29eefc8a04e64a7c37f4534dbff4e12da4fa4a9a1b67897bf4eb3779793b1f9')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
sed -i 's|gtk_window_set_icon_from_file(GTK_WINDOW(mw->window), ICONDIR"/l3afpad.png", NULL);|gtk_window_set_icon_name(GTK_WINDOW(mw->window), "l3afpad");|' src/window.c
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
|
||||
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
rm -r "$pkgdir/usr/share/pixmaps/"
|
||||
}
|
||||
24
l3afpad/l3afpad.appdata.xml
Normal file
24
l3afpad/l3afpad.appdata.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>com.github.l3afpad</id>
|
||||
<launchable type="desktop-id">l3afpad.desktop</launchable>
|
||||
<name>L3afpad</name>
|
||||
<summary>Simple text editor</summary>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0</project_license>
|
||||
<description>
|
||||
<p>
|
||||
L3afpad is a simple GTK+ text editor that emphasizes simplicity. As development
|
||||
focuses on keeping weight down to a minimum, only the most essential features
|
||||
are implemented in the editor. L3afpad is simple to use, is easily compiled,
|
||||
requires few libraries, and starts up quickly.
|
||||
</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://cn.opendesktop.org/img/hive/content-pre1/144892-1.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<url type="bugtracker">https://github.com/stevenhoneyman/l3afpad/issues</url>
|
||||
<url type="homepage">https://github.com/stevenhoneyman/l3afpad</url>
|
||||
</component>
|
||||
Reference in New Issue
Block a user