diff options
author | FirstAirBender | 2019-12-26 13:04:36 -0600 |
---|---|---|
committer | FirstAirBender | 2019-12-26 13:04:36 -0600 |
commit | bd7bea6534440a3256b2a6e91d2d66d836405679 (patch) | |
tree | f31f4d1f047d675cdc58346f5824f9499f39b67f | |
download | aur-bd7bea6534440a3256b2a6e91d2d66d836405679.tar.gz |
Create initial PKGBUILD
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f7e547e09c7f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = natpad + pkgdesc = Natpad is a Text-editor written in C using GTK + pkgver = 2.5 + pkgrel = 1 + url = https://github.com/douwevos/natpad + arch = x86_64 + license = GPL3 + provides = natpad + noextract = natpad-2.5-amd64.deb + source = natpad-2.5-amd64.deb::https://github.com/douwevos/natpad/releases/download/v2.5/natpad_2.5_amd64.deb + sha256sums = 1041f16317e852d3d232790cbfaff553b6b58cd996df77a9db77e928a162308b + +pkgname = natpad + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fb762a5e8e64 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: FirstAirBender <noblechuk5 [at] web [dot] de> + +pkgname=natpad +pkgver=2.5 +pkgrel=1 +pkgdesc='Natpad is a Text-editor written in C using GTK' +arch=('x86_64') +url='https://github.com/douwevos/natpad' +license=('GPL3') +provides=(natpad) +source=( + "natpad-${pkgver}-amd64.deb::https://github.com/douwevos/${pkgname}/releases/download/v${pkgver}/${pkgname}_${pkgver}_amd64.deb" +) +noextract=( + "natpad-${pkgver}-amd64.deb" +) +sha256sums=( + '1041f16317e852d3d232790cbfaff553b6b58cd996df77a9db77e928a162308b' +) + +package() { + bsdtar -O -xf "natpad-${pkgver}-amd64.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf - + + # Permission fix + find "${pkgdir}" -type d -exec chmod 755 {} + +} |