Skip to content

Commit

Permalink
add for package libfixposix
Browse files Browse the repository at this point in the history
  • Loading branch information
dctxmei committed Feb 19, 2020
1 parent b5c6cc0 commit 4bb2e07
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
30 changes: 30 additions & 0 deletions archlinuxcn/libfixposix/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Maintainer: Andrew Sun <adsun701@gmail.com>
# Contributor: June Tate-Gans <june@theonelab.com>

pkgname=libfixposix
pkgver=0.4.3
pkgrel=1
pkgdesc='Thin wrapper over POSIX syscalls'
arch=('i686' 'x86_64')
url="https://github.com/sionescu/libfixposix"
license=('Boost')
depends=('glibc')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/sionescu/libfixposix/archive/v${pkgver}.tar.gz")
sha256sums=('78fe8bcebf496520ac29b5b65049f5ec1977c6bd956640bdc6d1da6ea04d8504')

prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
autoreconf -fiv
}

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
}
9 changes: 9 additions & 0 deletions archlinuxcn/libfixposix/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pre_build: aur_pre_build

post_build: aur_post_build

update_on:
- aur

maintainers:
- github: dctxmei

0 comments on commit 4bb2e07

Please sign in to comment.